blob: bf0bfeeb615bcc17362313ca79af7dcc1b3b24d0 [file] [log] [blame]
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07001#!/usr/bin/env bash
Alexander Afanasyev49ecab22020-05-31 00:03:17 -04002set -e
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -07003
4JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5source "$JDIR"/util.sh
6
Alexander Afanasyev49ecab22020-05-31 00:03:17 -04007set -x
Alexander Afanasyeve0ab3f92016-10-20 13:29:39 -07008
Alexander Afanasyevd6453cd2015-08-20 21:45:36 -07009pushd ns-3 >/dev/null
10
Alexander Afanasyev49ecab22020-05-31 00:03:17 -040011export BOOST_TEST_BUILD_INFO=1
12export BOOST_TEST_COLOR_OUTPUT=1
13export BOOST_TEST_DETECT_MEMORY_LEAK=0
14export BOOST_TEST_LOGGER=HRF,test_suite,stdout:XML,all,build/xunit-log.xml
Alexander Afanasyeve0ab3f92016-10-20 13:29:39 -070015
Yuanzhi Gaodd516fe2015-04-23 04:18:24 -070016# Run unit tests
Alexander Afanasyev49ecab22020-05-31 00:03:17 -040017./waf --run "ndnSIM-unit-tests"
Alexander Afanasyevd6453cd2015-08-20 21:45:36 -070018
19popd >/dev/null