[svn:parrot] r39384 - branches/pmc_pct/compilers/pmcc/t
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Jun 4 12:58:28 UTC 2009
Author: bacek
Date: Thu Jun 4 12:58:27 2009
New Revision: 39384
URL: https://trac.parrot.org/parrot/changeset/39384
Log:
[t] Add first real test.
Added:
branches/pmc_pct/compilers/pmcc/t/08-multi.t
Added: branches/pmc_pct/compilers/pmcc/t/08-multi.t
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/pmc_pct/compilers/pmcc/t/08-multi.t Thu Jun 4 12:58:27 2009 (r39384)
@@ -0,0 +1,30 @@
+#! ../../parrot
+# Check generating header for parsed PMC
+
+.include 't/common.pir'
+
+.sub 'main' :main
+ .include 'test_more.pir'
+ load_bytecode 'pmcc.pbc'
+
+ plan(1)
+
+ .local string filename, content
+ filename = 't/data/class27.pmc'
+ content = _slurp(filename)
+
+ .local pmc emitter, capture
+ (emitter, capture) = get_emitter_and_capture(filename, content, 'past')
+ ok("MULTI functions parsed")
+
+
+.end
+
+# Don't forget to update plan!
+
+# Local Variables:
+# mode: cperl
+# cperl-indent-level: 4
+# fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4 ft=pir:
More information about the parrot-commits
mailing list