mes/scaffold/tests
Jan Nieuwenhuizen 26e88603d4
mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC].
Run: sed -i 's,WITH_GLIBC,SYSTEM_LIBC,g' $(git grep -l WITH_GLIBC)

* build-aux/config.sh: Update.
* include/alloca.h: Likewise.
* include/ar.h: Likewise.
* include/argz.h: Likewise.
* include/assert.h: Likewise.
* include/ctype.h: Likewise.
* include/dirent.h: Likewise.
* include/dirstream.h: Likewise.
* include/dlfcn.h: Likewise.
* include/endian.h: Likewise.
* include/errno.h: Likewise.
* include/fcntl.h: Likewise.
* include/features.h: Likewise.
* include/float.h: Likewise.
* include/getopt.h: Likewise.
* include/inttypes.h: Likewise.
* include/libgen.h: Likewise.
* include/limits.h: Likewise.
* include/linux/x86_64/syscall.h: Likewise.
* include/locale.h: Likewise.
* include/math.h: Likewise.
* include/memory.h: Likewise.
* include/mes/lib-mini.h: Likewise.
* include/pwd.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdarg.h: Likewise.
* include/stdbool.h: Likewise.
* include/stddef.h: Likewise.
* include/stdint.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/stdnoreturn.h: Likewise.
* include/string.h: Likewise.
* include/strings.h: Likewise.
* include/sys/cdefs.h: Likewise.
* include/sys/dir.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/mman.h: Likewise.
* include/sys/param.h: Likewise.
* include/sys/resource.h: Likewise.
* include/sys/select.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/timeb.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/types.h: Likewise.
* include/sys/ucontext.h: Likewise.
* include/sys/user.h: Likewise.
* include/sys/wait.h: Likewise.
* include/termio.h: Likewise.
* include/time.h: Likewise.
* include/unistd.h: Likewise.
* lib/libmes.c: Likewise.
* lib/tests/stdio/70-printf-hello.c: Likewise.
* lib/tests/stdio/70-printf-simple.c: Likewise.
* lib/tests/stdio/80-sscanf.c: Likewise.
* lib/tests/stdlib/50-malloc.c: Likewise.
* module/mescc/preprocess.scm: Likewise.
* scaffold/cons-mes.c: Likewise.
* scaffold/lib/stdlib/malloc.c: Likewise.
* scaffold/micro-mes.c: Likewise.
* scaffold/tests/61-array.c: Likewise.
* scaffold/tiny-mes.c: Likewise.
* simple.sh: Likewise.
* src/mes.c: Likewise.
2019-05-29 16:15:12 +02:00
..
00-exit-0.c mescc: x86_64 support: Add tests. 2018-08-15 17:19:50 +02:00
01-return-0.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
02-return-1.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
02-return-1.exit test: enable all tests, use expect count, add tinycc tests. 2018-05-01 16:50:29 +02:00
03-call.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
04-call-0.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
05-call-1.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
05-call-1.exit test: enable all tests, use expect count, add tinycc tests. 2018-05-01 16:50:29 +02:00
06-call-2.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
06-call-not-1.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
06-call-string.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
06-call-variable.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
06-not-call-1.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
06-return-void.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
07-include.c GNU Mes. 2018-07-22 14:24:36 +02:00
07-include.exit mescc: Add dir to include path. 2018-08-15 19:11:54 +02:00
7a-struct-char-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7b-struct-int-array-hello.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7b-struct-int-array-pointer.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7b-struct-int-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7c-dynarray.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7d-cast-char.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7e-struct-array-access.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7f-struct-pointer-arithmetic.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7g-struct-byte-word-field.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7h-struct-assign.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7i-struct-struct-simple.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7i-struct-struct.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7k-empty-for.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7k-for-each-elem-simple.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7k-for-each-elem.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7l-struct-any-size-array-simple.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
7l-struct-any-size-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7m-struct-char-array-assign.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7n-struct-struct-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7o-struct-pre-post-simple.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7o-struct-pre-post.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7p-struct-cast.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7q-bit-field-simple.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7q-bit-field.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7r-sign-extend.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7s-struct-short.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7s-unsigned-compare.c GNU Mes. 2018-07-22 14:24:36 +02:00
7t-function-destruct.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7u-call-ternary.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
7u-double.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
7u-inc-byte-word.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
7u-long-long.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
7u-struct-func.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7u-struct-size10.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
7u-ternary-expression.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
7u-vstack.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
08-assign-global.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
08-assign-negative.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
08-assign.c mescc: Add dir to include path. 2018-08-15 19:11:54 +02:00
10-if-0.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
11-if-1.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
12-if-eq.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
13-if-neq.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
14-if-goto.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
15-if-not-f.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
16-if-t.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-and-or.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-and.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-assign.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
17-compare-call.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
17-compare-char.c core: Support \xNN in reader. Fixes tcc-boot running on Mes. 2018-12-13 18:19:43 +01:00
17-compare-ge.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-gt.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-le.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-lt.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-or.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-unsigned-char-le.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
17-compare-unsigned-ge.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-unsigned-gt.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-unsigned-le.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-unsigned-long-le.c mescc: Support 64-bit immediates. 2018-10-06 14:51:57 +02:00
17-compare-unsigned-lt.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
17-compare-unsigned-short-le.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
18-assign-shadow.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
20-while.c test: Remove 00-test.i indirection. 2018-08-15 17:27:11 +02:00
21-char-array-simple.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
21-char-array.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
22-while-char-array.c test: Remove special characters from files. 2019-02-25 23:41:20 +01:00
23-global-pointer-init-null.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
23-global-pointer-init.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
23-global-pointer-pointer-ref.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
23-global-pointer-ref.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
23-pointer-sub.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
23-pointer.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
32-call-wrap.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
32-compare.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
33-and-or.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
34-pre-post.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
35-compare-char.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
36-compare-arithmetic.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
37-compare-assign.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
38-compare-call-2.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
38-compare-call-3.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
38-compare-call.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
40-if-else.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
41-ternary.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
42-goto-label.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
43-for-do-while.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
44-switch-body-fallthrough.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
44-switch-fallthrough.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
44-switch.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
45-void-call.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
46-function-static.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
47-function-expression.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
48-global-static.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
51-pointer-sub.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
54-argc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
54-argv.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
55-char-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
60-math.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
61-array.c mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
62-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-array-assign.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-array-compare.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-assign.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-cell.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-function.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-local.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct-pointer.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
63-struct.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
64-make-cell.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
65-read.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
66-local-char-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
70-stdarg.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
71-struct-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
72-typedef-struct-def.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
73-union-hello.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
73-union.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
74-multi-line-string.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
75-struct-union.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
76-pointer-arithmetic-pp.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
76-pointer-arithmetic.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
77-pointer-assign.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
78-union-struct.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
79-int-array-simple.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
79-int-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
82-define.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
83-heterogenoous-init.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
84-struct-field-list.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
85-sizeof.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
90-goto-var.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
91-goto-array.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
a0-call-trunc-char.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
a0-call-trunc-int.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
a0-call-trunc-short.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
a0-math-divide-signed-negative.c mescc: Support negative divide. 2018-10-06 17:28:08 +02:00
a1-global-no-align.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
a1-global-no-clobber.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
exit-42.i GNU Mes. 2018-07-22 14:24:36 +02:00
t.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00