some tweaks while updating mu-normie

This commit is contained in:
Kartik Agaram 2021-03-12 10:14:44 -08:00
parent 7e87c36c3a
commit 7ce83f9bff
4 changed files with 7 additions and 5 deletions

View File

@ -170,7 +170,7 @@ More resources on SubX:
Forks of Mu are encouraged. If you don't like something about this repo, feel
free to make a fork. If you show it to me, I'll link to it here. I might even
pull your changes into this repo!
pull features upstream!
- [mu-normie](https://git.sr.ht/~akkartik/mu-normie): with a more standard
build system that organizes the repo by header files and compilation units.

View File

@ -2,4 +2,6 @@
# Run SubX VM, first compiling if necessary.
set -e
$(dirname $0)/build && $(dirname $0)/bootstrap_bin "$@"
$(dirname $0)/build
$(dirname $0)/bootstrap_bin "$@"

View File

@ -80,12 +80,12 @@ echo ex6
bootstrap/bootstrap translate 000init.subx ex6.subx -o ex6
{
bootstrap/bootstrap run ex6 >ex6.out || true
test "`cat ex6.out`" = 'Hello, world!'
test "`cat ex6.out`" = 'Hello world!'
}
{
chmod +x ex6
./ex6 >ex6.out || true
test "`cat ex6.out`" = 'Hello, world!'
test "`cat ex6.out`" = 'Hello world!'
}
echo ex7

View File

@ -56,7 +56,7 @@ echo ex6
bootstrap/bootstrap translate 000init.subx ex6.subx -o ex6
{
bootstrap/bootstrap run ex6 >ex6.out || true
test "`cat ex6.out`" = 'Hello, world!'
test "`cat ex6.out`" = 'Hello world!'
}
echo ex7