forked from acken/AutoTest.Net
-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.sh
executable file
·27 lines (21 loc) · 833 Bytes
/
test.sh
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
#!/bin/bash
# stty -echo
# ::Project UppercuT - http://uppercut.googlecode.com
# ::No edits to this file are required - http://uppercut.pbwiki.com
function usage
{
echo ""
echo "Usage: test.sh"
echo "Usage: test.sh all - to run all tests"
exit
}
function displayUsage
{
case $1 in
"/?"|"-?"|"?"|"/help") usage ;;
esac
}
displayUsage $1
mono ./lib/NAnt/NAnt.exe /f:$(cd $(dirname "$0"); pwd)/build/compile.step -D:build.config.settings=$(cd $(dirname "$0"); pwd)/Settings/UppercuT.config
mono ./lib/NAnt/NAnt.exe /f:$(cd $(dirname "$0"); pwd)/build/analyzers/test.step $1 -D:build.config.settings=$(cd $(dirname "$0"); pwd)/Settings/UppercuT.config
mono ./lib/NAnt/NAnt.exe /f:$(cd $(dirname "$0"); pwd)/build/analyzers/test.step open_results -D:build.config.settings=$(cd $(dirname "$0"); pwd)/Settings/UppercuT.config