diff options
Diffstat (limited to 'meta/recipes-graphics/wayland/wayland/run-ptest')
-rw-r--r-- | meta/recipes-graphics/wayland/wayland/run-ptest | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/wayland/run-ptest b/meta/recipes-graphics/wayland/wayland/run-ptest new file mode 100644 index 0000000000..7e8d9de046 --- /dev/null +++ b/meta/recipes-graphics/wayland/wayland/run-ptest | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export WAYLAND_SCANNER=wayland-scanner | ||
4 | export TEST_DATA_DIR=tests/data | ||
5 | export TEST_OUTPUT_DIR=tests/output | ||
6 | export SED=sed | ||
7 | export WAYLAND_EGL_LIB=/usr/lib/libwayland-egl.so.1 | ||
8 | export NM=nm | ||
9 | |||
10 | for i in `ls tests/*-test tests/wayland-egl-symbols-check tests/scanner-test.sh`; do | ||
11 | $i | ||
12 | if [ $? -eq 0 ]; then | ||
13 | echo "PASS: $i" | ||
14 | else | ||
15 | echo "FAIL: $i" | ||
16 | fi | ||
17 | done | ||