mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/driver_bme680: move to test-with-config
If the configuration is correct, the test should succeed, so the test script is adapted
This commit is contained in:
parent
5e43172c87
commit
5ec41f35c7
@ -11,11 +11,7 @@ from testrunner import run
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect('Initialize BME680 sensor 0 ... ')
|
||||
i = child.expect(['[OK]', '[failed]'])
|
||||
if i == 1:
|
||||
print('FAILED')
|
||||
return
|
||||
child.expect_exact('Initialize BME680 sensor 0 ... OK')
|
||||
child.expect(r'\[bme680\]: dev=0, '
|
||||
r'T = \d+.\d+ degC, '
|
||||
r'P = \d+ Pa, '
|
Loading…
Reference in New Issue
Block a user