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

Commit

Permalink
add a target spectest
Browse files Browse the repository at this point in the history
work with lua-TestMore
  • Loading branch information
fperrad committed Sep 17, 2009
1 parent 7e18de2 commit a803ba4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 9 additions & 3 deletions config/makefiles/root.in
Expand Up @@ -351,6 +351,12 @@ help:
test: build
$(PERL) -I$(LIB_DIR)/tools/lib t/harness

export LUA_PATH=;;../src/?.lua

spectest : build lua@exe@
#UNLESS(win32): @which parrot-lua
cd t && cd lua-TestMore && cd test_lua51 && @prove --exec=parrot-lua *.t lib/*.t

upload_pl = \
use strict; \
use warnings; \
Expand All @@ -372,7 +378,7 @@ my $$response = $$ua->post( \
username => q{parrot-autobot}, \
password => q{squ@wk}, \
project_id => $$project_id, \
report_file => [q{test_lua51.tar.gz}], \
report_file => [q{t//lua-TestMore//test_lua51//test_lua51.tar.gz}], \
revision => @revision@, \
] \
); \
Expand All @@ -390,9 +396,9 @@ else { \
}

smoke : build lua@exe@
#IF(win32): @$(CP) lua@exe@ parrot-lua@exe@
#UNLESS(win32): @which parrot-lua
-@prove --archive test_lua51.tar.gz --exec=parrot-lua t/lua-TestMore/test_lua51/0*.t
-cd t && cd lua-TestMore && cd test_lua51 \
&& @prove --archive test_lua51.tar.gz --exec=parrot-lua *.t lib/*.t
perl -e '$(upload_pl)'

codetest: codetest-c codetest-make codetest-perl codetest-pir codetest-pod
Expand Down
6 changes: 5 additions & 1 deletion doc/running.pod
Expand Up @@ -33,10 +33,14 @@ Configure & build Lua
perl Configure.pl
make

=head2 Running the whole test suite
=head2 Running the Test Suite

make test

With t/lua-TestMore/test_lua51 is used as Test Suite

make spectest

=head2 Smoking to Smolder

make smoke
Expand Down

0 comments on commit a803ba4

Please sign in to comment.