Made it easier to run individual unit tests

This commit is contained in:
Simon Brooke 2019-01-18 20:55:03 +00:00
parent b433171fb6
commit 46a4132823
36 changed files with 4 additions and 0 deletions

View file

@ -101,6 +101,10 @@ struct cons_pointer make_integer( int64_t value, struct cons_pointer more ) {
* integer arguments `a` and `b`, and return a pointer to the result. If
* either `a` or `b` is not an integer, returns `NIL`.
*/
/* TODO: there is a significant bug here, which manifests in multiply but
* may not manifest in add. The value in the least significant cell ends
* up significantly WRONG, but the value in the more significant cell
* ends up correct. */
struct cons_pointer operate_on_integers( struct cons_pointer a,
struct cons_pointer b,
char op) {

0
unit-tests/add.sh Normal file → Executable file
View file

0
unit-tests/apply.sh Normal file → Executable file
View file

0
unit-tests/bignum-add.sh Normal file → Executable file
View file

0
unit-tests/bignum-expt.sh Normal file → Executable file
View file

0
unit-tests/bignum-print.sh Normal file → Executable file
View file

0
unit-tests/bignum-subtract.sh Normal file → Executable file
View file

0
unit-tests/bignum.sh Normal file → Executable file
View file

0
unit-tests/complex-list.sh Normal file → Executable file
View file

0
unit-tests/cond.sh Normal file → Executable file
View file

0
unit-tests/empty-list.sh Normal file → Executable file
View file

0
unit-tests/empty-string.sh Normal file → Executable file
View file

0
unit-tests/eval-integer.sh Normal file → Executable file
View file

0
unit-tests/eval-quote-sexpr.sh Normal file → Executable file
View file

0
unit-tests/eval-quote-symbol.sh Normal file → Executable file
View file

0
unit-tests/eval-real.sh Normal file → Executable file
View file

0
unit-tests/eval-string.sh Normal file → Executable file
View file

0
unit-tests/fred.sh Normal file → Executable file
View file

0
unit-tests/integer-allocation.sh Normal file → Executable file
View file

0
unit-tests/integer.sh Normal file → Executable file
View file

0
unit-tests/intepreter.sh Normal file → Executable file
View file

0
unit-tests/lambda.sh Normal file → Executable file
View file

0
unit-tests/many-args.sh Normal file → Executable file
View file

0
unit-tests/multiply.sh Normal file → Executable file
View file

0
unit-tests/nil.sh Normal file → Executable file
View file

0
unit-tests/nlambda.sh Normal file → Executable file
View file

0
unit-tests/progn.sh Normal file → Executable file
View file

0
unit-tests/quote.sh Normal file → Executable file
View file

0
unit-tests/quoted-list.sh Normal file → Executable file
View file

0
unit-tests/ratio-addition.sh Normal file → Executable file
View file

0
unit-tests/recursion.sh Normal file → Executable file
View file

0
unit-tests/reverse.sh Normal file → Executable file
View file

0
unit-tests/simple-list.sh Normal file → Executable file
View file

0
unit-tests/string-allocation.sh Normal file → Executable file
View file

0
unit-tests/string-with-spaces.sh Normal file → Executable file
View file

0
unit-tests/varargs.sh Normal file → Executable file
View file