Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions compiler/acton/test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1306,14 +1306,9 @@ actonProjTests =
, " env.exit(0)"
]
(returnCode, cmdOut, cmdErr) <- readCreateProcessWithExitCode
(proc actonExe ["build", "--always-build", "--color", "never"]) { cwd = Just proj } ""
assertEqual ("project importing std.json should build\nstdout:\n" ++ cmdOut ++ "\nstderr:\n" ++ cmdErr)
(proc actonExe ["build", "--skip-build", "--always-build", "--color", "never"]) { cwd = Just proj } ""
assertEqual ("project importing std.json should compile\nstdout:\n" ++ cmdOut ++ "\nstderr:\n" ++ cmdErr)
ExitSuccess returnCode
(runCode, runOut, runErr) <- readCreateProcessWithExitCode
(proc (proj </> "out/bin/main") []) ""
assertEqual ("project importing std.json should run\nstdout:\n" ++ runOut ++ "\nstderr:\n" ++ runErr)
ExitSuccess runCode
assertEqual "std.json output" "{\"answer\":42}\n" runOut

, testCase "with missing src/ dir" $ do
testBuild "" (ExitFailure 1) False "test/project/missing_src"
Expand Down
2 changes: 1 addition & 1 deletion test/stdlib_auto/test_process_many.act
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ actor GC(env):


actor main(env: Env):
var num=1000
var num=100
if len(env.argv) > 1:
num = int(env.argv[1])

Expand Down
Loading