|
12345678910111213141516171819202122232425 |
- #!/bin/bash
-
- # Set path to OpenViBE shared libraries
- uname_string=$(uname)
-
- export OV_PATH_ROOT="@DIST_BINDIR@/.."
-
- if [[ "$uname_string" == 'Darwin' ]]; then
- export DYLD_LIBRARY_PATH="@DIST_LIBDIR@/:$DYLD_LIBRARY_PATH"
- else
- export LD_LIBRARY_PATH="@DIST_LIBDIR@/:$LD_LIBRARY_PATH"
- fi
-
- # Execute ctest forwarding the arguments
- if [ -d unit-test ]; then
- pushd unit-test
- ctest $@
- popd
- fi
-
- if [ -d validation-test ]; then
- pushd validation-test
- ctest $@
- popd
- fi
|