Browse files

Fixed bug where testrunner was looking for test folders in folders ot…

…her that apps/ and frameworks/
  • Loading branch information...
1 parent 907e407 commit d0216ed8b48bdc710e3622f3f6c95a5dc3bced45 @rklancer rklancer committed with scytacki May 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 run-tests.rb
View
2 run-tests.rb
@@ -19,7 +19,7 @@
# find all of the test subfolders in the tests of the current apps
# FIXME should change to support nested folders inside of tests
-testFolders = Dir.glob( File.join(rootDir, "**", "tests", "*") )
+testFolders = Dir.glob( File.join(rootDir, "{apps,frameworks}","**", "tests", "*") )
excludes = [File.join("tmp","**")]
testFolders = testFolders.reject{|folder|
excludes.any?{|exclude| File.fnmatch?(File.join(rootDir, exclude), folder)}

0 comments on commit d0216ed

Please sign in to comment.