]> git.openstreetmap.org Git - rails.git/commitdiff
Don't add system tests if the user specified which tests to run
authorTom Hughes <tom@compton.nu>
Sat, 9 Dec 2017 10:52:19 +0000 (10:52 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 9 Dec 2017 10:52:19 +0000 (10:52 +0000)
lib/tasks/testing.rake

index 924698c7fb115584a78dc11e2bd2dff87ba45f23..c9b384cfe48e8ee9c4067949759dd20021bf5cd9 100644 (file)
@@ -1,5 +1,5 @@
 task "test" do
-  Rails::TestUnit::Runner.rake_run(["test/system"])
+  Rails::TestUnit::Runner.rake_run(["test/system"]) unless ENV.key?("TEST")
 end
 
 namespace :test do