Yuanzhi Gao | dd516fe | 2015-04-23 04:18:24 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | set -x | ||||
3 | set -e | ||||
4 | |||||
5 | JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||||
6 | source "$JDIR"/util.sh | ||||
7 | |||||
8 | # Run unit tests | ||||
9 | if [[ -n "$XUNIT" ]]; then | ||||
10 | ./build/src/ndnSIM/tests/ns3-dev-ndnSIM-unit-tests-debug --log_format=XML --log_sink=build/xunit-report.xml --log_level=all --report_level=no | ||||
11 | else | ||||
12 | ./build/src/ndnSIM/tests/ns3-dev-ndnSIM-unit-tests-debug -l test_suite | ||||
13 | fi |