mes/scaffold/tests
Jan Nieuwenhuizen 05c33b052a mlibc: Tinycc support: qsort.
* lib/libc+tcc.c (qswap, qpart): New function
  (qsort): Implement.
* scaffold/tests/81-qsort.c: Test it.
* make.scm ("81-qsort"): Build it.
2017-12-04 19:01:39 +01:00
..
00-exit-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
01-return-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
02-return-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
03-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
04-call-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
05-call-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
06-call-!1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
07-include.c mescc: Tinycc support: test #include. 2017-11-18 11:55:47 +01:00
7a-struct-char-array.c mescc: Tinycc support: word array assignment. 2017-08-08 10:00:13 +02:00
7b-struct-int-array.c mescc: Tinycc support: ((foo*) p) + n. 2017-07-31 12:19:23 +02:00
7c-dynarray.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
7d-cast-char.c mescc: Tinycc support: ((unsigned char*)str)[i]. 2017-08-04 11:40:04 +02:00
7e-struct-array-access.c mescc: Tinycc support: foo[index]->bar for array bar. 2017-08-04 21:45:29 +02:00
7f-struct-pointer-arithmetic.c mescc: Tinycc support: fixes for foo.bar[baz]. 2017-08-05 21:09:19 +02:00
7g-struct-byte-word-field.c mescc: Tinycc support: byte and word struct fields. 2017-08-06 12:27:16 +02:00
7h-struct-assign.c mescc: Tinycc support: struct by value assign. 2017-09-10 16:59:53 +02:00
7i-struct-struct.c mescc: Tinycc support: struct.struct. 2017-08-10 21:36:49 +02:00
7j-strtoull.c mescc: scaffold: misc cleanups. 2017-12-03 23:03:09 +01:00
7k-for-each-elem.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
7l-struct-any-size-array.c mescc: Tinycc support: array of struct of any size. 2017-08-27 11:23:45 +02:00
7m-struct-char-array-assign.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
7n-struct-struct-array.c mescc: Tinycc support: struct struct array. 2017-11-17 15:24:45 +01:00
10-if-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
11-if-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
12-if-==.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
13-if-!=.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
14-if-goto.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
15-if-!f.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
16-if-t.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
20-while.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
21-char[].c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
22-while-char[].c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
23-pointer.c mescc: Tinycc support: fix *--p = 'x'. 2017-08-27 16:58:56 +02:00
30-strlen.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
31-eputs.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
32-compare.c mescc: Tinycc support: fix accu value after comparison. 2017-07-29 20:46:16 +02:00
33-and-or.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
34-pre-post.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
35-compare-char.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
36-compare-arithmetic.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
37-compare-assign.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
38-compare-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
40-if-else.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
41-?.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
42-goto-label.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
43-for-do-while.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
44-switch.c mescc: scaffold: misc cleanups. 2017-12-03 23:03:09 +01:00
45-void-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
50-assert.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
51-strcmp.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
52-itoa.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
53-strcpy.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
54-argv.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
60-math.c mescc: scaffold: misc cleanups. 2017-12-03 23:03:09 +01:00
61-array.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
63-struct-cell.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
64-make-cell.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
65-read.c mescc: Refactor decl. 2017-07-26 11:36:08 +02:00
66-local-char-array.c mescc: Mescc-tools support: char foo[BAR] = {'a', 'b', 'c'}. 2017-11-27 19:51:18 +01:00
70-printf.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
71-struct-array.c mescc: Tinycc support: pointer arithmetic. 2017-07-28 10:40:30 +02:00
72-typedef-struct-def.c mescc: Tinycc support: fix foo[bar]->baz. 2017-07-29 08:37:34 +02:00
73-union.c mescc: Tinycc support: union. 2017-07-26 11:36:08 +02:00
74-multi-line-string.c mescc: Tinycc support: *global =. 2017-07-26 11:36:08 +02:00
75-struct-union.c mescc: Tinycc support: struct.union. 2017-07-26 11:36:08 +02:00
76-pointer-arithmetic.c mescc: Tinycc support: pointer arithmetic with pointer-variable. 2017-08-26 10:16:53 +02:00
77-pointer-assign.c mescc: scaffold: misc cleanups. 2017-12-03 23:03:09 +01:00
78-union-struct.c mescc: Tinycc support: union.struct. 2017-07-29 22:50:00 +02:00
79-int-array.c mescc: scaffold: misc cleanups. 2017-12-03 23:03:09 +01:00
80-setjmp.c mlibc: GNU Gcc support: setjmp, longjmp. 2017-11-26 13:10:46 +01:00
81-qsort.c mlibc: Tinycc support: qsort. 2017-12-04 19:01:39 +01:00
exit-42.i mescc: Tinycc support: test #include. 2017-11-18 11:55:47 +01:00
t.c mescc: Refactor decl. 2017-07-26 11:36:08 +02:00