[Swift-commit] r2512 - trunk/tests/language-behaviour

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Feb 6 21:08:56 CST 2009


Author: hategan
Date: 2009-02-06 21:08:56 -0600 (Fri, 06 Feb 2009)
New Revision: 2512

Modified:
   trunk/tests/language-behaviour/run
Log:
option to allow attaching a debugger to a test

Modified: trunk/tests/language-behaviour/run
===================================================================
--- trunk/tests/language-behaviour/run	2009-02-07 03:05:49 UTC (rev 2511)
+++ trunk/tests/language-behaviour/run	2009-02-07 03:08:56 UTC (rev 2512)
@@ -20,6 +20,10 @@
   SUB="y"
   shift
   TESTS="$@"
+elif [ "$1" == "-d" ]; then
+	export COG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=y"
+	shift
+	TESTS="$@"
 else
   TESTS="$@"
 fi




More information about the Swift-commit mailing list