[svn:parrot] r49175 - branches/gc_massacre/t/op

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Sep 20 11:00:21 UTC 2010


Author: bacek
Date: Mon Sep 20 11:00:20 2010
New Revision: 49175
URL: https://trac.parrot.org/parrot/changeset/49175

Log:
Use skip_all in disabled tests

Modified:
   branches/gc_massacre/t/op/gc-leaky-box.t
   branches/gc_massacre/t/op/gc-leaky-call.t

Modified: branches/gc_massacre/t/op/gc-leaky-box.t
==============================================================================
--- branches/gc_massacre/t/op/gc-leaky-box.t	Mon Sep 20 10:59:47 2010	(r49174)
+++ branches/gc_massacre/t/op/gc-leaky-box.t	Mon Sep 20 11:00:20 2010	(r49175)
@@ -25,18 +25,16 @@
 .sub _main :main
     .include 'test_more.pir'
 
-    plan(3)
 
     $S0 = interpinfo .INTERPINFO_GC_SYS_NAME
     if $S0 != "ms" goto dont_run_hanging_tests
 
+    plan(3)
     test_gc_mark_sweep()
 
     goto test_end
   dont_run_hanging_tests:
-    ok(1, "#TODO - Test disabled on gc_inf")
-    ok(1, "#TODO - Test disabled on gc_inf")
-    ok(1, "#TODO - Test disabled on gc_inf")
+    skip_all("Not relevant for this GC")
   test_end:
 .end
 

Modified: branches/gc_massacre/t/op/gc-leaky-call.t
==============================================================================
--- branches/gc_massacre/t/op/gc-leaky-call.t	Mon Sep 20 10:59:47 2010	(r49174)
+++ branches/gc_massacre/t/op/gc-leaky-call.t	Mon Sep 20 11:00:20 2010	(r49175)
@@ -22,18 +22,16 @@
 .sub _main :main
     .include 'test_more.pir'
 
-    plan(3)
 
     $S0 = interpinfo .INTERPINFO_GC_SYS_NAME
     if $S0 != "ms" goto dont_run_hanging_tests
 
+    plan(3)
     test_gc_mark_sweep()
 
     goto test_end
   dont_run_hanging_tests:
-    ok(1, "#TODO - Test disabled on gc_inf")
-    ok(1, "#TODO - Test disabled on gc_inf")
-    ok(1, "#TODO - Test disabled on gc_inf")
+    skip_all("Not relevant for this GC")
   test_end:
 .end
 


More information about the parrot-commits mailing list