diff options
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/agda.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/agda.nix b/nixos/tests/agda.nix index bbdeb7395aa..ccc6a9bbfd1 100644 --- a/nixos/tests/agda.nix +++ b/nixos/tests/agda.nix @@ -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" ''; } ) |