You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/05/22 08:51:04 UTC

[6/6] git commit: [flex-sdk] [refs/heads/develop] - fix bug in test_patch.sh

fix bug in test_patch.sh


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5c561804
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5c561804
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5c561804

Branch: refs/heads/develop
Commit: 5c561804c54929796e08493f0e248b99b9d47701
Parents: d7e1c90
Author: Alex Harui <ah...@apache.org>
Authored: Tue May 21 17:13:16 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue May 21 23:50:47 2013 -0700

----------------------------------------------------------------------
 test_patch.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5c561804/test_patch.sh
----------------------------------------------------------------------
diff --git a/test_patch.sh b/test_patch.sh
index 1021506..d591d84 100755
--- a/test_patch.sh
+++ b/test_patch.sh
@@ -31,15 +31,17 @@ git apply $1
 git status >gitstatus.txt
 cd mustella/utilities/MustellaTestChooser/src
 "$AIR_HOME/bin/adl" -runtime "$AIR_HOME/runtimes/air/mac" MustellaTestChooser-app.xml -- -file
-cd ../../../../mustella
-if [ -s changes.txt ]
+cd ../../../..
+if [ -s mustella/changes.txt ]
 then
     ant main checkintests
 	rc=$?
 	if [[ $rc != 0 ]] ; then
 		exit $rc
 	fi
+	cd mustella
 	sh ./test_changes.sh
+	cd ..
 fi
 git checkout .