Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix pir-subclass tests.

I was over-thinking them. These particular tests don't rely on either Rosella or the pla-testlib
  • Loading branch information...
commit f231307f3c43b0039349d6cf968670ce1a722c7f 1 parent 55761d9
@Whiteknight authored
View
9 t/pir-subclass/complexmatrix2d.t
@@ -1,16 +1,11 @@
#!parrot
-.HLL 'ComplexMatrix2D_SUBCLASS_TEST'
-
.sub setup :anon :init
- $P0 = load_bytecode "rosella/core.pbc"
- $P1 = get_hll_global ["Rosella"], "initialize_rosella"
- $P1("test")
- $P2 = get_hll_global ["Rosella"], "load_bytecode_file"
- $P2('t/testlib/pla_test.pbc', "load")
$P3 = loadlib "./dynext/linalg_group"
.end
+.HLL 'ComplexMatrix2D_SUBCLASS_TEST'
+
.sub test :main
$P0 = get_class 'Complex'
$P1 = subclass $P0, 'TestComplex'
View
9 t/pir-subclass/nummatrix2d.t
@@ -1,16 +1,11 @@
#!parrot
-.HLL 'NumMatrix2D_SUBCLASS_TEST'
-
.sub setup :anon :init
- $P0 = load_bytecode "rosella/core.pbc"
- $P1 = get_hll_global ["Rosella"], "initialize_rosella"
- $P1("test")
- $P2 = get_hll_global ["Rosella"], "load_bytecode_file"
- $P2('t/testlib/pla_test.pbc', "load")
$P3 = loadlib "./dynext/linalg_group"
.end
+.HLL 'NumMatrix2D_SUBCLASS_TEST'
+
.sub test :main
$P0 = get_class 'Float'
$P1 = subclass $P0, 'TestFloat'
View
6 t/pir-subclass/pmcmatrix2d.t
@@ -1,12 +1,6 @@
#!parrot
.sub setup :anon :init
- $P0 = load_bytecode "rosella/core.pbc"
- $P1 = get_root_global [ 'parrot' ; 'Rosella' ], 'initialize_rosella'
- #$P1 = get_root_global ["Rosella"], "initialize_rosella"
- $P1("test")
- $P2 = get_root_global ['parrot' ; "Rosella"], "load_bytecode_file"
- $P2('t/testlib/pla_test.pbc', "load")
$P3 = loadlib "./dynext/linalg_group"
.end
Please sign in to comment.
Something went wrong with that request. Please try again.