Commit 59354d40 by Christian Kern

Changed the run_tests_cygwin script to on be dependent on /bin/sh instead of on…

Changed the run_tests_cygwin script to on be dependent on /bin/sh instead of on being dependent on bash. Was already done before with run_tests_unix, just copied those changes. Other scripts will not be touched, as we decided to not adjust complicated scripts.
parent e9ad6754
#!/usr/bin/env bash #!/bin/sh
# Copyright (c) 2014-2015, Siemens AG. All rights reserved. # Copyright (c) 2014-2015, Siemens AG. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
...@@ -26,17 +26,20 @@ ...@@ -26,17 +26,20 @@
# Needs to be located in the folder containing the tests!! # Needs to be located in the folder containing the tests!!
# Is copied automatically there when generating build files with cmake. # Is copied automatically there when generating build files with cmake.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/embb_base_c_test.exe" SCRIPT_LOCATION="$0"
echo
"$DIR/embb_base_cpp_test.exe" # case we have symlinks...
echo while [ -h "$SCRIPT_LOCATION" ] ; do
"$DIR/embb_mtapi_c_test.exe" SCRIPT_LOCATION=`readlink "$SCRIPT_LOCATION"`
echo done
"$DIR/embb_mtapi_cpp_test.exe"
echo DIR=`dirname "$SCRIPT_LOCATION"`
"$DIR/embb_algorithms_cpp_test.exe"
echo TESTS="embb_base_c_test embb_base_cpp_test embb_mtapi_c_test \
"$DIR/embb_containers_cpp_test.exe" embb_mtapi_cpp_test embb_algorithms_cpp_test \
echo embb_containers_cpp_test embb_dataflow_cpp_test"
"$DIR/embb_dataflow_cpp_test.exe"
for TEST in $TESTS; do
"$DIR/$TEST".exe;
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment