1
0
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:
Alexandre Abadie 2021-01-19 16:18:51 +01:00
parent 5e43172c87
commit 5ec41f35c7
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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, '