nixos/tests/agda: check execution of HelloWorld
Test that the compiled executable actually runs.
This commit is contained in:
parent
b4b4e36921
commit
67e43b7453
@ -36,6 +36,10 @@ in
|
||||
"cp ${hello-world} HelloWorld.agda"
|
||||
)
|
||||
machine.succeed("agda -l standard-library -i . -c HelloWorld.agda")
|
||||
# Check execution
|
||||
assert "Hello World!" in machine.succeed(
|
||||
"./HelloWorld"
|
||||
), "HelloWorld does not run properly"
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user