mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 19:22:58 +00:00
Limit tests to those that end with *Test.j
This commit is contained in:
1 parent
f925585475
commit
42775cb152
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user