blob: 01ce1a2ec70f2f5e01be5a71c1ee523ebda2613b [file] [log] [blame]
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07001#!/usr/bin/env bash
2set -x
3set -e
4
5JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
6source "$JDIR"/util.sh
7
8# Run unit tests
9if [[ -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
11else
12 ./build/src/ndnSIM/tests/ns3-dev-ndnSIM-unit-tests-debug -l test_suite
13fi