diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-20 01:33:47 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-20 08:43:25 -0700 |
commit | 5f254d0d02d8d6d61ca57ef4188110f11032a930 (patch) | |
tree | 24af61cb047b3a2175ba248104976a9fa414e026 /linux/apps/factorial.subx | |
parent | 0b9ea19c9846445e56ce6661f788a65a51461dcf (diff) | |
download | mu-5f254d0d02d8d6d61ca57ef4188110f11032a930.tar.gz |
.
Update run instructions for linux/app/ examples, and make sure they are correct.
Diffstat (limited to 'linux/apps/factorial.subx')
-rw-r--r-- | linux/apps/factorial.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/apps/factorial.subx b/linux/apps/factorial.subx index e36f892d..d7e75821 100644 --- a/linux/apps/factorial.subx +++ b/linux/apps/factorial.subx @@ -1,14 +1,14 @@ ## compute the factorial of 5, and print the result # # To run: -# $ bootstrap/bootstrap translate [01]*.subx apps/factorial.subx -o factorial -# $ bootstrap/bootstrap run factorial +# $ ./translate_subx [01]*.subx apps/factorial.subx +# $ ./a.elf # Expected result: # $ echo $? # 120 # # You can also run the automated test suite: -# $ bootstrap/bootstrap run factorial test +# $ ./a.elf test # Expected output: # ........ # Every '.' indicates a passing test. Failing tests get a 'F'. |