617f478df3
The weston-tests-env script needs to be able to handle weston test extension style tests as well as module style tests. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
13 lines
238 B
Bash
Executable File
13 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
WESTON=$abs_builddir/../src/weston
|
|
|
|
case $1 in
|
|
*.la|*.so)
|
|
$WESTON --modules=$abs_builddir/.libs/${1/.la/.so}
|
|
;;
|
|
*)
|
|
WESTON_TEST_CLIENT_PATH=$abs_builddir/$1 $WESTON \
|
|
--modules=$abs_builddir/.libs/weston-test.so
|
|
esac
|