Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix tests with luad (path & installed parrot)
  • Loading branch information
fperrad committed Mar 15, 2009
1 parent ba6b011 commit 73e2f13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion config/makefiles/root.in
Expand Up @@ -79,6 +79,7 @@ GEN_PIR := \

GEN_PBC := \
lua.pbc \
luad.pbc \
luap.pbc

LUA_GROUP := $(PMC_DIR)/lua_group$(LOAD_EXT)
Expand Down Expand Up @@ -110,7 +111,7 @@ DOCS := README

BUILD_CLEANUPS := \
man \
lua.pbc \
"*.pbc" \
"library/*.pbc" \
"$(LIBPATH)/*.pbc" \
$(GEN_PIR) \
Expand Down Expand Up @@ -182,6 +183,9 @@ lua.pbc: $(SOURCES)
lua@exe@: lua.pbc
$(PBC_TO_EXE) lua.pbc

luad.pbc: luad.pir
$(PARROT) -o luad.pbc --output-pbc luad.pir

luap.pbc: luap.pir
$(PARROT) -o luap.pbc --output-pbc luap.pir

Expand Down
2 changes: 1 addition & 1 deletion luad.pir
Expand Up @@ -73,7 +73,7 @@ L<http://luaforge.net/projects/chunkspy/>
.return ('')
.end
.include 'languages/lua/src/lib/luabytecode.pir'
.include 'src/lib/luabytecode.pir'
# Local Variables:
Expand Down
2 changes: 1 addition & 1 deletion t/Parrot/Test/Luad.pm
Expand Up @@ -51,7 +51,7 @@ foreach my $func ( keys %language_test_map ) {
my $lua_out_fn = File::Spec->rel2abs( Parrot::Test::per_test( '.parrot_out', $count ) );
my @test_prog = (
"luac -o ${luac_fn} ${lang_fn}",
"$self->{parrot} languages/lua/luad.pir ${luac_fn}",
"$self->{parrot} languages/lua/luad.pbc ${luac_fn}",
);

# This does not create byte code, but lua code
Expand Down

0 comments on commit 73e2f13

Please sign in to comment.