aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/wayland/run-ptest
blob: 7e8d9de04642c43b05f1ce2aaf4136a2a14b5fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

export WAYLAND_SCANNER=wayland-scanner
export TEST_DATA_DIR=tests/data
export TEST_OUTPUT_DIR=tests/output
export SED=sed
export WAYLAND_EGL_LIB=/usr/lib/libwayland-egl.so.1
export NM=nm

for i in `ls tests/*-test tests/wayland-egl-symbols-check tests/scanner-test.sh`; do
    $i
    if [ $? -eq 0 ]; then
        echo "PASS: $i"
    else
        echo "FAIL: $i"
    fi
done