annotate ringtools/examples/compile.sh @ 926:6a0aa8d36d06

rvinterf backslash escape: introduce libprint The new helper function library named libprint is meant to replace the badly misnamed libg23, and will soon contain functions for printing all of the same kinds of GPF TST packets that are now handled in libg23. However, we are also moving safe_print_trace() from libasync to this new library, and changing it to emit our new backslash escape format.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2023 03:47:46 +0000
parents 7be2220d52c5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
173
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #!/bin/sh
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 if [ $# != 1 ]
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 then
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 echo "usage: $0 test_melody_name" 1>&2
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 exit 1
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 fi
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
869
7be2220d52c5 ringtools/examples: add compile.sh like in e1-experiments
Mychaela Falconia <falcon@freecalypso.org>
parents: 173
diff changeset
9 if [ ! -f "$1.pwt" ]
173
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 then
869
7be2220d52c5 ringtools/examples: add compile.sh like in e1-experiments
Mychaela Falconia <falcon@freecalypso.org>
parents: 173
diff changeset
11 echo "error: can't find $1.pwt" 1>&2
173
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 exit 1
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 fi
64b37ad18f7a e1-experiments: better test setup
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
869
7be2220d52c5 ringtools/examples: add compile.sh like in e1-experiments
Mychaela Falconia <falcon@freecalypso.org>
parents: 173
diff changeset
15 exec ../fc-pwt-comp "$1.pwt" "$1.bz"