Permalink
Browse files

Add -compiler.omit-trace-statements=false to tests runner. Update REA…

…DME.tests to reflect this change.
  • Loading branch information...
timonvo committed Aug 25, 2010
1 parent 7c2cf13 commit 3c192ec6ddc240ad74ce168bd7b7d700d6f9ad0a
Showing with 4 additions and 6 deletions.
  1. +1 −5 README.tests
  2. +3 −1 tests/tests
View
@@ -2,13 +2,9 @@ You can get the Flex 4 SDK at:
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
Flex 4 SDK is assumed to be installed in $FLEX_ROOT
-Make sure that
-<omit-trace-statements>false</omit-trace-statements>
-is set to false in
-$FLEX_ROOT/frameworks/flex-config.xml
To compile tests inside the tests/ directory use the following command:
-$FLEX_ROOT/bin/mxmlc -static-link-runtime-shared-libraries test.mxml -output test.swf
+$FLEX_ROOT/bin/mxmlc -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false test.mxml -output test.swf
NOTE: Use the ./tests script in tests/ to run the tests in an automated way.
View
@@ -2,6 +2,8 @@
#Set you lightspark executable path here
LIGHTSPARK="lightspark"
+#Set the default loglevel here
+LOGLEVEL="-l 0"
#Set your MXMLC compiler path here
MXMLC="mxmlc"
#If you prefer no colors, you can permanently set the default here
@@ -67,7 +69,7 @@ if [ $COMPILE ]; then
echo $TESTS_SRC 1>&2;
echo "Compiler: $MXMLC" 1>&2;
for test in $TESTS_SRC; do
- $MXMLC -static-link-runtime-shared-libraries $test;
+ $MXMLC -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false $test;
done
if [ $QUIT ]; then
exit;

0 comments on commit 3c192ec

Please sign in to comment.