Commit 336bbe2a authored by Kunshan Wang's avatar Kunshan Wang

travis

parent 7f9ec286
language: scala
scala:
- 2.11.8
jdk:
- openjdk8
script:
- sbt compile
- pushd tests/c-snippets && make && popd
- sbt 'test-only uvm.clientsupport.text.BundleBuilderTest'
- sbt 'test-only uvm.ir.textinput.SourceInfoRepoTest'
- sbt 'test-only uvm.ir.textinput.UIRTextReaderSpec'
- sbt 'test-only uvm.NameSpaceSpec'
- sbt 'test-only uvm.refimpl.hail.UvmHailBasicTest'
- sbt 'test-only uvm.refimpl.hail.UvmHailHelloWorldTest'
- sbt 'test-only uvm.refimpl.itpr.UvmConversionOperationSpec'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterFutexTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterGCTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterInt128Test'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterMetaTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterNativeCallbackTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterNativeTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterNativeTestsExtra'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterSimpleSumTest'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterSimpleTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterSpec'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterStackGCTests'
- sbt 'test-only uvm.refimpl.itpr.UvmInterpreterTestBigFunc'
- sbt 'test-only uvm.refimpl.mem.NativeMemoryAccessTest'
- sbt 'test-only uvm.refimpl.mem.ObjectPinningTest'
- sbt 'test-only uvm.refimpl.mem.UvmMemLayoutSpec'
- sbt 'test-only uvm.refimpl.mem.UvmMemOperationsSpec'
- sbt 'test-only uvm.refimpl.misc.FuncRedefTests'
- sbt 'test-only uvm.refimpl.misc.HashableSSAValueTest'
- sbt 'test-only uvm.refimpl.nat.NativeClientSupportTest'
- sbt 'test-only uvm.refimpl.nat.NativeStackKeeperTest'
- sbt 'test-only uvm.refimpl.osr.UvmOSRTests'
- sbt 'test-only uvm.staticanalysis.StaticAnalysisTest'
- sbt 'test-only uvm.testutil.HexDumpTest'
......@@ -330,8 +330,8 @@ bool test_traps(MuVM *mvm) {
MuFuncRefValue func = ctx->handle_from_func(ctx, ID("@trapper"));
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
args, 1, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, args, 1, NULL);
mvm->execute(mvm);
......@@ -411,8 +411,8 @@ bool test_load_bundle(MuVM *mvm) {
MuFuncRefValue func = ctx->handle_from_func(ctx, ID("@made_in_c"));
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
args, 1, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, args, 1, NULL);
mvm->execute(mvm);
......@@ -670,8 +670,8 @@ bool test_osr(MuVM *mvm) {
MuFuncRefValue func = ctx->handle_from_func(ctx, ID("@osr_test_base"));
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
args, 1, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, args, 1, NULL);
mvm->execute(mvm);
......@@ -787,8 +787,8 @@ bool test_wp(MuVM *mvm) {
{
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
NULL, 0, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, NULL, 0, NULL);
mvm->execute(mvm);
}
......@@ -798,8 +798,8 @@ bool test_wp(MuVM *mvm) {
{
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
NULL, 0, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, NULL, 0, NULL);
mvm->execute(mvm);
}
......@@ -809,8 +809,8 @@ bool test_wp(MuVM *mvm) {
{
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
NULL, 0, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, NULL, 0, NULL);
mvm->execute(mvm);
}
......@@ -900,8 +900,8 @@ bool test_native(MuVM *mvm) {
MuFuncRefValue func = ctx->handle_from_func(ctx, ID("@native_test"));
MuStackRefValue stack = ctx->new_stack(ctx, func);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, MU_REBIND_PASS_VALUES,
args, 1, NULL);
MuThreadRefValue thread = ctx->new_thread(ctx, stack, NULL,
MU_REBIND_PASS_VALUES, args, 1, NULL);
mvm->execute(mvm);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment