Detect Parrot assembly and bytecode individually, and add some tests

This commit is contained in:
Jonathan "Duke" Leto
2011-07-28 11:24:30 -07:00
parent 9dff8bb4a8
commit a4eb4738d7
5 changed files with 32 additions and 2 deletions

5
test/fixtures/hello.pasm vendored Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env parrot
.pcc_sub :main main:
say "Hello!"
end

BIN
test/fixtures/hello.pbc vendored Normal file

Binary file not shown.

5
test/fixtures/hello.pir vendored Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env parrot
.sub 'main' :main
say "Hello!"
.end