summaryrefslogtreecommitdiff
path: root/ant-test-nsc.sh
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2005-07-30 23:18:59 +0000
committerBurak Emir <emir@epfl.ch>2005-07-30 23:18:59 +0000
commit526917486633c5f69aab6fe64021b2c0998b74c6 (patch)
tree7235b51e6842ee8e39fdd39b8ab8c4358ab9e1cf /ant-test-nsc.sh
parent7df39b24cf872a65203769cb76a9f0cd90d979b5 (diff)
downloadscala-526917486633c5f69aab6fe64021b2c0998b74c6.tar.gz
scala-526917486633c5f69aab6fe64021b2c0998b74c6.tar.bz2
scala-526917486633c5f69aab6fe64021b2c0998b74c6.zip
userExclude feature for build and test infrastr...
userExclude feature for build and test infrastructure
Diffstat (limited to 'ant-test-nsc.sh')
-rwxr-xr-xant-test-nsc.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/ant-test-nsc.sh b/ant-test-nsc.sh
index 556d75bf00..93f130ef63 100755
--- a/ant-test-nsc.sh
+++ b/ant-test-nsc.sh
@@ -15,5 +15,12 @@ export CLASSPATH
# for debugging your classpath
#echo $CLASSPATH
+if [ -f developer/${USER}/test-nsc-excludes.xml ]; then
+ sed -e "s/userExcludes\ \"\"/userExcludes\ SYSTEM\ \"developer\/${USER}\/test-nsc-excludes.xml\"/" < test-nsc.xml > concrete-test-nsc.xml;
+ else
+ ln -s test-nsc.xml concrete-test-nsc.xml;
+fi
+
+ant -f concrete-test-nsc.xml $*
+rm -f concrete-test-ncs.xml
-ant -f test-nsc.xml $*