PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/buildtools/unit-test.sh

http://github.com/mozy/mordor
Shell | 12 lines | 8 code | 2 blank | 2 comment | 1 complexity | 688ac38c9e4d32a32e39ba6d4349ab16 MD5 | raw file
 1#!/bin/sh
 2
 3mkdir -p test-results
 4rm -rf test-results/TEST-*.xml
 5export TEST_ANTXML_DIRECTORY=test-results/ 
 6
 7#cmake builds generate binaries out-of-source
 8if [ -e build/run_tests ] ; then
 9    build/run_tests $*
10else
11    mordor/tests/run_tests $*
12fi