1f8281fc7286ddaa0c7d15ab400098e649004a2b
[platform/upstream/weston.git] / tests / weston-tests-env
1 #!/bin/sh
2
3 WESTON=$abs_builddir/../src/weston
4
5 case $1 in
6         *.la|*.so)
7                 $WESTON --modules=$abs_builddir/.libs/${1/.la/.so}
8                 ;;
9         *)
10                 WESTON_TEST_CLIENT_PATH=$abs_builddir/$1 $WESTON \
11                         --modules=$abs_builddir/.libs/weston-test.so
12 esac