mes/lib/tests/scaffold
W. J. van der Laan 9d7360cca6 lib/tests: Take RISC-V into account in size conditionals.
* lib/tests/scaffold/76-pointer-arithmetic.c (main): Use the right sizes
in the test for RISC-V architectures.
* lib/tests/scaffold/7k-for-each-elem.c (main): Same.
* lib/tests/scaffold/85-sizeof.c: Same.
2023-11-05 09:39:29 +01:00
..
01-return-0.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
02-return-1.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
02-return-1.exit test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
03-call.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
04-call-0.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
05-call-1.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
05-call-1.exit test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-call-2.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-call-not-1.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-call-string.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-call-variable.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-not-call-1.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
06-return-void.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
07-include.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
07-include.exit test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7a-struct-char-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7b-struct-int-array-hello.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7b-struct-int-array-pointer.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7b-struct-int-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7c-dynarray.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7d-cast-char.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7e-struct-array-access.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7f-struct-pointer-arithmetic.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7g-struct-byte-word-field.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7h-struct-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7i-struct-struct-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7i-struct-struct.c lib/test: Cater for gcc-12.2.0. 2022-09-15 13:56:38 +02:00
7k-empty-for.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7k-for-each-elem-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7k-for-each-elem.c lib/tests: Take RISC-V into account in size conditionals. 2023-11-05 09:39:29 +01:00
7l-struct-any-size-array-simple.c test: Make 7l-struct-any-size-array-simple compatible with default ARM gcc. 2020-08-22 21:01:45 +02:00
7l-struct-any-size-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7m-struct-char-array-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7n-struct-struct-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7o-struct-pre-post-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7o-struct-pre-post.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7p-struct-cast.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7q-bit-field-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7q-bit-field.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7r-sign-extend.c test: Make 7r-sign-extend compatible with default ARM gcc. 2020-08-22 21:01:36 +02:00
7s-struct-short.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7s-unsigned-compare.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7t-function-destruct.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-call-ternary.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-double.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-inc-byte-word.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-long-long.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-struct-func.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-struct-size10.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-ternary-expression.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
7u-vstack.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
08-assign-global.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
08-assign-negative.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
08-assign.c test: ARM: 08-assign.c: Avoid assembly for tcc. 2021-01-23 08:43:42 +01:00
10-if-0.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
11-if-1.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
12-if-eq.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
13-if-neq.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
14-if-goto.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
15-if-not-f.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
16-cast.c lib: tests: Add 16-cast. 2023-11-05 09:36:11 +01:00
16-if-t.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-and-or.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-and.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-call.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-char.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-ge.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-gt.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-le.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-lt.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-or.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-rotated.c lib: tests: Add 17-compare-rotated. 2023-11-05 09:36:11 +01:00
17-compare-unsigned-char-le.c DRAFT lib: tests: 17-compare-unsigned-char-le.c: Avoid gcc optimize. 2023-11-05 09:36:11 +01:00
17-compare-unsigned-ge.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-unsigned-gt.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-unsigned-le.c DRAFT lib: tests: 17-compare-unsigned-le: Add case from 7s-unsigned-compare. 2023-11-05 09:36:11 +01:00
17-compare-unsigned-long-le.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-unsigned-lt.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
17-compare-unsigned-short-le.c DRAFT lib: tests: 17-compare-unsigned-short-le.c: Avoid gcc optimize. 2023-11-05 09:36:11 +01:00
18-assign-shadow.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
20-while.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
21-char-array-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
21-char-array.c lib/tests: Initialize local variable. 2023-07-08 15:10:05 +02:00
22-while-char-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-global-pointer-init-null.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-global-pointer-init.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-global-pointer-pointer-ref.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-global-pointer-ref.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-pointer-sub.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
23-pointer.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
30-exit-0.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
30-exit-42.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
30-exit-42.exit hurd: Initial support. 2019-12-13 21:52:29 +01:00
32-call-wrap.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
32-compare.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
33-and-or.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
34-pre-post.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
35-compare-char.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
36-compare-arithmetic-negative.c test: Split-off 36-compare-arithmetic-negative.c. 2021-01-23 08:43:43 +01:00
36-compare-arithmetic.c test: Split-off 36-compare-arithmetic-negative.c. 2021-01-23 08:43:43 +01:00
37-compare-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
38-compare-call-2.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
38-compare-call-3.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
38-compare-call.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
40-if-else.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
41-ternary.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
42-goto-label.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
43-for-do-while.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
44-switch-body-fallthrough.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
44-switch-fallthrough.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
44-switch.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
45-void-call.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
46-function-static.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
47-function-expression.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
48-global-static.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
51-pointer-sub.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
54-argc.c test: Enable argv test, run tests with arguments. 2019-06-26 19:49:36 +02:00
54-argv.c test: scaffold/54-argv.c: Support running with TinyCC. 2021-01-23 08:43:45 +01:00
55-char-array.c Add missing #include. 2019-09-09 16:04:15 +02:00
60-math-itoa.c test: Split-off scaffold/60-math-itoa.c. 2021-01-23 08:43:43 +01:00
60-math-modulo.c test: Add 60-math-modulo.c. 2022-09-11 23:34:20 +02:00
60-math.c test: Split-off scaffold/60-math-itoa.c. 2021-01-23 08:43:43 +01:00
61-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
62-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-array-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-array-compare.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-cell.c lib: tests: 63-struct-cell: Avoid segfault by array overflow with gcc >= 10. 2023-08-29 22:07:01 +02:00
63-struct-function.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-local.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct-pointer.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
63-struct.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
64-make-cell.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
65-read.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
66-local-char-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
67-m1-overflow-check.c mescc: Do not overflow M1 64bit immediates. 2023-11-05 09:36:26 +01:00
68-truncate-shift.c DRAFT test: Add 68-truncate-shift. 2023-11-05 09:38:57 +01:00
70-array-in-struct-init.c mescc: Add 70-array-in-struct-init.c test with fix. 2019-07-20 17:14:55 +02:00
70-array-in-struct-init.stdout mescc: Add 70-array-in-struct-init.c test with fix. 2019-07-20 17:14:55 +02:00
70-extern.c mescc: Do not dump variables with extern storage. 2019-07-27 17:22:00 +02:00
70-extern.stdout mescc: Do not dump variables with extern storage. 2019-07-27 17:22:00 +02:00
70-function-destruct-declare.c mescc: Add 70-function-destruct-declare.c test. 2019-07-26 19:09:12 +02:00
70-function-modulo.c tests: Add 70-function-modulo.c. 2021-01-23 08:43:45 +01:00
70-or-argument.c tests: Add 70-or-argument.c. 2021-01-23 08:43:46 +01:00
70-stdarg.c lib/tests: Pass int to va_arg instead of char. 2021-05-02 16:56:29 +02:00
70-struct-post.c mescc: Add 70-struct-post.c test with fix. 2019-07-21 22:40:42 +02:00
70-struct-short-enum-init.c mescc: Add 70-struct-short-enum-init.c test with fix. 2019-07-21 16:48:26 +02:00
70-struct-short-enum-init.stdout mescc: Add 70-struct-short-enum-init.c test with fix. 2019-07-21 16:48:26 +02:00
70-ternary-arithmetic-argument.c tests: Add 70-ternary-arithmetic-argument.c. 2021-01-23 08:43:41 +01:00
71-struct-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
72-typedef-struct-def-local.c test: Split-off broken 72-typedef-struct-def-local. 2019-07-08 09:04:01 +02:00
72-typedef-struct-def.c test: Split-off broken 72-typedef-struct-def-local. 2019-07-08 09:04:01 +02:00
73-union-hello.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
73-union.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
74-multi-line-string.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
75-struct-union.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
76-pointer-arithmetic-pp.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
76-pointer-arithmetic.c lib/tests: Take RISC-V into account in size conditionals. 2023-11-05 09:39:29 +01:00
77-pointer-assign.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
78-union-struct.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
79-int-array-simple.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
79-int-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
82-define.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
83-heterogenoous-init.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
84-struct-field-list.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
85-sizeof.c lib/tests: Take RISC-V into account in size conditionals. 2023-11-05 09:39:29 +01:00
90-goto-var.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
91-goto-array.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a0-call-trunc-char.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a0-call-trunc-int.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a0-call-trunc-short.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a0-math-divide-signed-negative.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a1-global-no-align.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
a1-global-no-clobber.c test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
exit-42.i test: Move scaffold/tests into lib. 2019-06-08 15:34:44 +02:00
t.c lib/test: Cater for gcc-12.2.0. 2022-09-15 13:56:38 +02:00