Commit 2c2d7876 by Thomas Zander Committed by Christian Kern

Generalise unix tests to unixlike operating systems

- Rename run_tests_linux.sh to run_tests_unix.sh
- Use /bin/sh instead of bash
parent 03bd6a4b
......@@ -98,7 +98,7 @@ if (DEFINED CYGWIN)
set(test_script_in run_tests_cygwin.sh)
set(test_script_out run_tests.sh)
elseif (DEFINED UNIX)
set(test_script_in run_tests_linux.sh)
set(test_script_in run_tests_unix.sh)
set(test_script_out run_tests.sh)
else()
set(test_script_in run_tests_windows.bat)
......
#!/usr/bin/env bash
#!/bin/sh
# Copyright (c) 2014, Siemens AG. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
......@@ -26,17 +26,13 @@
# Needs to be located in the folder containing the tests!!
# Is copied automatically there when generating build files with cmake.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/embb_base_c_test"
echo
"$DIR/embb_base_cpp_test"
echo
"$DIR/embb_mtapi_c_test"
echo
"$DIR/embb_mtapi_cpp_test"
echo
"$DIR/embb_algorithms_cpp_test"
echo
"$DIR/embb_containers_cpp_test"
echo
"$DIR/embb_dataflow_cpp_test"
DIR=.
TESTS="embb_base_c_test embb_base_cpp_test embb_mtapi_c_test \
embb_mtapi_cpp_test embb_algorithms_cpp_test \
embb_containers_cpp_test embb_dataflow_cpp_test"
for TEST in $TESTS; do
$DIR/$TEST;
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