Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
11,270 additions
and
22,269 deletions.
There are no files selected for viewing
Binary file not shown.
67 changes: 67 additions & 0 deletions
67
...reter.Tests/_Projects/MoonSharp.Interpreter.Tests.Embeddable.portable40/TestMore/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
LUA = ../../lua-5.2.3/src/lua | ||
LUAJIT = luajit | ||
LUA_COVER = ../../gh-pages/lua-TestMore/lua-5.2.3/src/lua | ||
|
||
LUA_VERSION = $(shell $(LUA) -e "print(_VERSION)") | ||
OSNAME = $(shell perl -MConfig -e "print Config->{osname}") | ||
ARCHNAME = $(shell perl -MConfig -e "print Config->{archname}") | ||
INTSIZE = $(shell perl -MConfig -e "print Config->{longsize}") | ||
|
||
export LUA_PATH=;;../src/?.lua | ||
export LUA_INIT=platform = { osname=[[$(OSNAME)]], intsize=$(INTSIZE), compat=true } | ||
|
||
version: | ||
@echo $(LUA_VERSION) | ||
|
||
harness: | ||
prove --exec=$(LUA) *.t | ||
|
||
sanity: | ||
prove --exec=$(LUA) 0*.t | ||
|
||
luajit: | ||
prove --exec=$(LUAJIT) *.t | ||
|
||
coverage: | ||
prove --exec=$(LUA_COVER) *.t | ||
|
||
upload_pl = \ | ||
use strict; \ | ||
use warnings; \ | ||
use LWP::UserAgent; \ | ||
my $$ua = LWP::UserAgent->new(); \ | ||
$$ua->env_proxy(); \ | ||
my $$server = q{http://smolder.parrot.org}; \ | ||
my $$project_id = 7; \ | ||
my $$url = $$server . q{/app/projects/process_add_report/} . $$project_id; \ | ||
my $$response = $$ua->post( \ | ||
$$url, \ | ||
Content_Type => q{form-data}, \ | ||
Content => [ \ | ||
architecture => q{$(ARCHNAME)}, \ | ||
platform => q{$(OSNAME)}, \ | ||
tags => q{$(OSNAME), $(ARCHNAME), $(LUA), $(LUA_VERSION)}, \ | ||
comments => q{$(LUA)}, \ | ||
username => q{parrot-autobot}, \ | ||
password => q{qa_rocks}, \ | ||
project_id => $$project_id, \ | ||
report_file => [q{test_lua52.tar.gz}], \ | ||
] \ | ||
); \ | ||
if ($$response->code == 302) { \ | ||
my ($$report_id) = $$response->content =~ /Reported .(\d+) added/i; \ | ||
my $$report_url = $$server . q{/app/projects/report_details/} . $$report_id; \ | ||
my $$project_url = $$server . q{/app/projects/smoke_reports/} . $$project_id; \ | ||
print qq{Test report successfully sent to Smolder at\n$$report_url} \ | ||
. qq{\nYou can see other recent reports at\n$$project_url .\n\n}; \ | ||
} \ | ||
else { \ | ||
die qq{Could not upload report to Smolder at $$server} \ | ||
. qq{\nHTTP CODE: } . $$response->code . q{ (} \ | ||
. $$response->message . qq{)\n}; \ | ||
} | ||
|
||
smolder: | ||
-prove --archive test_lua52.tar.gz --exec=$(LUA) *.t | ||
perl -e '$(upload_pl)' |
68 changes: 68 additions & 0 deletions
68
...r.Tests/_Projects/MoonSharp.Interpreter.Tests.Embeddable.portable40/TestMore/makefile.mak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# nmake /F makefile.mak | ||
|
||
LUAJIT = luajit.exe | ||
LUA = lua.exe | ||
LUAC = luac.exe | ||
|
||
RUN_LUA = $(LUA) | ||
RUN_LUAC = $(LUAC) | ||
OSNAME = MSWin32 | ||
ARCHNAME = MSWin32-x86-multi-thread | ||
INTSIZE = 4 | ||
|
||
harness: env | ||
@prove --exec=$(LUA) *.t | ||
|
||
sanity: env | ||
@prove --exec=$(LUA) 0*.t | ||
|
||
luajit: env | ||
@prove --exec=$(LUAJIT) *.t | ||
|
||
llvm-lua: env | ||
@prove --exec=$(LLVM_LUA) *.t | ||
|
||
env: | ||
@set LUA_PATH=;;../src/?.lua | ||
@set LUA_INIT=platform = { lua=[[$(RUN_LUA)]], luac=[[$(RUN_LUAC)]], osname=[[$(OSNAME)]], intsize=$(INTSIZE), compat=true } | ||
|
||
upload_pl = \ | ||
use strict; \ | ||
use warnings; \ | ||
use LWP::UserAgent; \ | ||
my $$ua = LWP::UserAgent->new(); \ | ||
$$ua->env_proxy(); \ | ||
my $$server = q{http://smolder.parrot.org}; \ | ||
my $$project_id = 7; \ | ||
my $$url = $$server . q{/app/projects/process_add_report/} . $$project_id; \ | ||
my $$response = $$ua->post( \ | ||
$$url, \ | ||
Content_Type => q{form-data}, \ | ||
Content => [ \ | ||
architecture => q{$(ARCHNAME)}, \ | ||
platform => q{$(OSNAME)}, \ | ||
tags => q{$(OSNAME), $(ARCHNAME), $(LUA)}, \ | ||
comments => q{$(LUA)}, \ | ||
username => q{parrot-autobot}, \ | ||
password => q{qa_rocks}, \ | ||
project_id => $$project_id, \ | ||
report_file => [q{test_lua52.tar.gz}], \ | ||
] \ | ||
); \ | ||
if ($$response->code == 302) { \ | ||
my ($$report_id) = $$response->content =~ /Reported .(\d+) added/i; \ | ||
my $$report_url = $$server . q{/app/public_projects/report_details/} . $$report_id; \ | ||
my $$project_url = $$server . q{/app/public_projects/smoke_reports/} . $$project_id; \ | ||
print qq{Test report successfully sent to Smolder at\n$$report_url} \ | ||
. qq{\nYou can see other recent reports at\n$$project_url .\n\n}; \ | ||
} \ | ||
else { \ | ||
die qq{Could not upload report to Smolder at $$server} \ | ||
. qq{\nHTTP CODE: } . $$response->code . q{ (} \ | ||
. $$response->message . qq{)\n}; \ | ||
} | ||
|
||
smolder: env | ||
-@prove --archive test_lua52.tar.gz --exec=$(LUA) *.t | ||
perl -e "$(upload_pl)" | ||
|
67 changes: 67 additions & 0 deletions
67
...rp.Interpreter.Tests/_Projects/MoonSharp.Interpreter.Tests.net40-client/TestMore/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
LUA = ../../lua-5.2.3/src/lua | ||
LUAJIT = luajit | ||
LUA_COVER = ../../gh-pages/lua-TestMore/lua-5.2.3/src/lua | ||
|
||
LUA_VERSION = $(shell $(LUA) -e "print(_VERSION)") | ||
OSNAME = $(shell perl -MConfig -e "print Config->{osname}") | ||
ARCHNAME = $(shell perl -MConfig -e "print Config->{archname}") | ||
INTSIZE = $(shell perl -MConfig -e "print Config->{longsize}") | ||
|
||
export LUA_PATH=;;../src/?.lua | ||
export LUA_INIT=platform = { osname=[[$(OSNAME)]], intsize=$(INTSIZE), compat=true } | ||
|
||
version: | ||
@echo $(LUA_VERSION) | ||
|
||
harness: | ||
prove --exec=$(LUA) *.t | ||
|
||
sanity: | ||
prove --exec=$(LUA) 0*.t | ||
|
||
luajit: | ||
prove --exec=$(LUAJIT) *.t | ||
|
||
coverage: | ||
prove --exec=$(LUA_COVER) *.t | ||
|
||
upload_pl = \ | ||
use strict; \ | ||
use warnings; \ | ||
use LWP::UserAgent; \ | ||
my $$ua = LWP::UserAgent->new(); \ | ||
$$ua->env_proxy(); \ | ||
my $$server = q{http://smolder.parrot.org}; \ | ||
my $$project_id = 7; \ | ||
my $$url = $$server . q{/app/projects/process_add_report/} . $$project_id; \ | ||
my $$response = $$ua->post( \ | ||
$$url, \ | ||
Content_Type => q{form-data}, \ | ||
Content => [ \ | ||
architecture => q{$(ARCHNAME)}, \ | ||
platform => q{$(OSNAME)}, \ | ||
tags => q{$(OSNAME), $(ARCHNAME), $(LUA), $(LUA_VERSION)}, \ | ||
comments => q{$(LUA)}, \ | ||
username => q{parrot-autobot}, \ | ||
password => q{qa_rocks}, \ | ||
project_id => $$project_id, \ | ||
report_file => [q{test_lua52.tar.gz}], \ | ||
] \ | ||
); \ | ||
if ($$response->code == 302) { \ | ||
my ($$report_id) = $$response->content =~ /Reported .(\d+) added/i; \ | ||
my $$report_url = $$server . q{/app/projects/report_details/} . $$report_id; \ | ||
my $$project_url = $$server . q{/app/projects/smoke_reports/} . $$project_id; \ | ||
print qq{Test report successfully sent to Smolder at\n$$report_url} \ | ||
. qq{\nYou can see other recent reports at\n$$project_url .\n\n}; \ | ||
} \ | ||
else { \ | ||
die qq{Could not upload report to Smolder at $$server} \ | ||
. qq{\nHTTP CODE: } . $$response->code . q{ (} \ | ||
. $$response->message . qq{)\n}; \ | ||
} | ||
|
||
smolder: | ||
-prove --archive test_lua52.tar.gz --exec=$(LUA) *.t | ||
perl -e '$(upload_pl)' |
68 changes: 68 additions & 0 deletions
68
...nterpreter.Tests/_Projects/MoonSharp.Interpreter.Tests.net40-client/TestMore/makefile.mak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# nmake /F makefile.mak | ||
|
||
LUAJIT = luajit.exe | ||
LUA = lua.exe | ||
LUAC = luac.exe | ||
|
||
RUN_LUA = $(LUA) | ||
RUN_LUAC = $(LUAC) | ||
OSNAME = MSWin32 | ||
ARCHNAME = MSWin32-x86-multi-thread | ||
INTSIZE = 4 | ||
|
||
harness: env | ||
@prove --exec=$(LUA) *.t | ||
|
||
sanity: env | ||
@prove --exec=$(LUA) 0*.t | ||
|
||
luajit: env | ||
@prove --exec=$(LUAJIT) *.t | ||
|
||
llvm-lua: env | ||
@prove --exec=$(LLVM_LUA) *.t | ||
|
||
env: | ||
@set LUA_PATH=;;../src/?.lua | ||
@set LUA_INIT=platform = { lua=[[$(RUN_LUA)]], luac=[[$(RUN_LUAC)]], osname=[[$(OSNAME)]], intsize=$(INTSIZE), compat=true } | ||
|
||
upload_pl = \ | ||
use strict; \ | ||
use warnings; \ | ||
use LWP::UserAgent; \ | ||
my $$ua = LWP::UserAgent->new(); \ | ||
$$ua->env_proxy(); \ | ||
my $$server = q{http://smolder.parrot.org}; \ | ||
my $$project_id = 7; \ | ||
my $$url = $$server . q{/app/projects/process_add_report/} . $$project_id; \ | ||
my $$response = $$ua->post( \ | ||
$$url, \ | ||
Content_Type => q{form-data}, \ | ||
Content => [ \ | ||
architecture => q{$(ARCHNAME)}, \ | ||
platform => q{$(OSNAME)}, \ | ||
tags => q{$(OSNAME), $(ARCHNAME), $(LUA)}, \ | ||
comments => q{$(LUA)}, \ | ||
username => q{parrot-autobot}, \ | ||
password => q{qa_rocks}, \ | ||
project_id => $$project_id, \ | ||
report_file => [q{test_lua52.tar.gz}], \ | ||
] \ | ||
); \ | ||
if ($$response->code == 302) { \ | ||
my ($$report_id) = $$response->content =~ /Reported .(\d+) added/i; \ | ||
my $$report_url = $$server . q{/app/public_projects/report_details/} . $$report_id; \ | ||
my $$project_url = $$server . q{/app/public_projects/smoke_reports/} . $$project_id; \ | ||
print qq{Test report successfully sent to Smolder at\n$$report_url} \ | ||
. qq{\nYou can see other recent reports at\n$$project_url .\n\n}; \ | ||
} \ | ||
else { \ | ||
die qq{Could not upload report to Smolder at $$server} \ | ||
. qq{\nHTTP CODE: } . $$response->code . q{ (} \ | ||
. $$response->message . qq{)\n}; \ | ||
} | ||
|
||
smolder: env | ||
-@prove --archive test_lua52.tar.gz --exec=$(LUA) *.t | ||
perl -e "$(upload_pl)" | ||
|
67 changes: 67 additions & 0 deletions
67
...harp.Interpreter.Tests/_Projects/MoonSharp.Interpreter.Tests.portable40/TestMore/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
LUA = ../../lua-5.2.3/src/lua | ||
LUAJIT = luajit | ||
LUA_COVER = ../../gh-pages/lua-TestMore/lua-5.2.3/src/lua | ||
|
||
LUA_VERSION = $(shell $(LUA) -e "print(_VERSION)") | ||
OSNAME = $(shell perl -MConfig -e "print Config->{osname}") | ||
ARCHNAME = $(shell perl -MConfig -e "print Config->{archname}") | ||
INTSIZE = $(shell perl -MConfig -e "print Config->{longsize}") | ||
|
||
export LUA_PATH=;;../src/?.lua | ||
export LUA_INIT=platform = { osname=[[$(OSNAME)]], intsize=$(INTSIZE), compat=true } | ||
|
||
version: | ||
@echo $(LUA_VERSION) | ||
|
||
harness: | ||
prove --exec=$(LUA) *.t | ||
|
||
sanity: | ||
prove --exec=$(LUA) 0*.t | ||
|
||
luajit: | ||
prove --exec=$(LUAJIT) *.t | ||
|
||
coverage: | ||
prove --exec=$(LUA_COVER) *.t | ||
|
||
upload_pl = \ | ||
use strict; \ | ||
use warnings; \ | ||
use LWP::UserAgent; \ | ||
my $$ua = LWP::UserAgent->new(); \ | ||
$$ua->env_proxy(); \ | ||
my $$server = q{http://smolder.parrot.org}; \ | ||
my $$project_id = 7; \ | ||
my $$url = $$server . q{/app/projects/process_add_report/} . $$project_id; \ | ||
my $$response = $$ua->post( \ | ||
$$url, \ | ||
Content_Type => q{form-data}, \ | ||
Content => [ \ | ||
architecture => q{$(ARCHNAME)}, \ | ||
platform => q{$(OSNAME)}, \ | ||
tags => q{$(OSNAME), $(ARCHNAME), $(LUA), $(LUA_VERSION)}, \ | ||
comments => q{$(LUA)}, \ | ||
username => q{parrot-autobot}, \ | ||
password => q{qa_rocks}, \ | ||
project_id => $$project_id, \ | ||
report_file => [q{test_lua52.tar.gz}], \ | ||
] \ | ||
); \ | ||
if ($$response->code == 302) { \ | ||
my ($$report_id) = $$response->content =~ /Reported .(\d+) added/i; \ | ||
my $$report_url = $$server . q{/app/projects/report_details/} . $$report_id; \ | ||
my $$project_url = $$server . q{/app/projects/smoke_reports/} . $$project_id; \ | ||
print qq{Test report successfully sent to Smolder at\n$$report_url} \ | ||
. qq{\nYou can see other recent reports at\n$$project_url .\n\n}; \ | ||
} \ | ||
else { \ | ||
die qq{Could not upload report to Smolder at $$server} \ | ||
. qq{\nHTTP CODE: } . $$response->code . q{ (} \ | ||
. $$response->message . qq{)\n}; \ | ||
} | ||
|
||
smolder: | ||
-prove --archive test_lua52.tar.gz --exec=$(LUA) *.t | ||
perl -e '$(upload_pl)' |
Oops, something went wrong.