diff options
| -rwxr-xr-x | meta-oe/recipes-core/sdbus-c++/sdbus-c++/run-ptest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++/run-ptest b/meta-oe/recipes-core/sdbus-c++/sdbus-c++/run-ptest index 5e285b39e0..845ba7d8c6 100755 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++/run-ptest +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++/run-ptest | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | set -e | 2 | set -e |
| 3 | 3 | ||
| 4 | # the integration tests require some machine id | ||
| 5 | if [ ! -f /etc/machine-id ]; then | ||
| 6 | echo 12345678901234567890123456789012 > /etc/machine-id | ||
| 7 | fi | ||
| 8 | |||
| 4 | ./sdbus-c++-unit-tests 2>&1 && echo "PASS: sdbus-c++-unit-tests" || echo "FAIL: sdbus-c++-unit-tests" | 9 | ./sdbus-c++-unit-tests 2>&1 && echo "PASS: sdbus-c++-unit-tests" || echo "FAIL: sdbus-c++-unit-tests" |
| 5 | 10 | ||
| 6 | ./sdbus-c++-integration-tests 2>&1 && echo "PASS: sdbus-c++-integration-tests" || echo "FAIL: sdbus-c++-integration-tests" | 11 | ./sdbus-c++-integration-tests 2>&1 && echo "PASS: sdbus-c++-integration-tests" || echo "FAIL: sdbus-c++-integration-tests" |
