forked from dyninst/mrnet
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrunBuildUnitTest.sh
More file actions
executable file
·49 lines (35 loc) · 1.21 KB
/
runBuildUnitTest.sh
File metadata and controls
executable file
·49 lines (35 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Unpublished Proprietary Information.
# This unpublished work is protected to trade secret, copyright and other laws.
# Except as permitted by contract or express written permission of Hewlett
# Packard Enterprise Development LP., no part of this work or its content may be
# used, reproduced or disclosed in any form.
#
top_level=$PWD
source ./external/cdst_build_library/build_lib
setup_modules
module load cray-cdst-support
module load cray-cti-devel
#module load cray-mrnet
check_exit_status
# Copy scripts to test dir for execution
cp $top_level/build.sh $top_level/tests/
cp $top_level/run_tests.sh $top_level/tests/
cp $top_level/configure $top_level/tests/
echo "############################################"
echo "# Running Unit Tests #"
echo "############################################"
cp $top_level/build.sh $top_level/tests/
check_exit_status
cp $top_level/run_tests.sh $top_level/tests/
check_exit_status
cd $top_level/tests
check_exit_status
./build.sh
check_exit_status
./run_tests.sh -l
check_exit_status
echo "############################################"
echo "# Done with Tests #"
echo "############################################"
exit_with_status