Limit tests to those that end with *Test.j

This commit is contained in:
tlrobinson committed 2009-10-16 13:29:40 -07:00
1 parent f925585475
commit 42775cb152
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ task :install => [:tools_download] do
end
task :test => [:build] do
tests = "'" + FileList['Tests/**/*.j'].join("' '") + "'"
tests = "'" + FileList['Tests/**/*Test.j'].join("' '") + "'"
build_result = %x{ojtest #{tests} }
if build_result.match(/Test suite failed/i)