3 # Mes --- Maxwell Equations of Software
4 # Copyright © 2017,2018 Jan Nieuwenhuizen <janneke@gnu.org>
6 # This file is part of Mes.
8 # Mes is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # Mes is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with Mes. If not, see <http://www.gnu.org/licenses/>.
21 export MES=${MES-src/mes}
22 export MESCC=${MESCC-scripts/mescc.mes}
23 #export MES_ARENA=${MES_ARENA-200000000} > 12GB mem
29 MESCC=${MESCC-guile/mescc.scm}
30 MES_PREFIX=${MES_PREFIX-.}
32 # $MESCC -E -o lib/crt1.E lib/crt1.c
33 # $MESCC -c -o lib/crt1.M1 lib/crt1.E
34 # $M1 --LittleEndian --Architecture=1 \
38 # $MESCC -E -o lib/libc-mes.E lib/libc-mes.c
39 # $MESCC -c -o lib/libc-mes.M1 lib/libc-mes.E
40 # $M1 --LittleEndian --Architecture=1\
104 7e-struct-array-access
105 7f-struct-pointer-arithmetic
106 7g-struct-byte-word-field
111 7l-struct-any-size-array
112 7m-struct-char-array-assign
113 7n-struct-struct-array
119 if [ ! -x ./i686-unknown-linux-gnu-tcc ]; then
120 tests=$(echo "$tests" | grep -Ev "02-return-1|05-call-1|80-setjmp|81-qsort")
127 sh test.sh "$t" &> scaffold/tests/$t.log
137 if [ $fail != 0 ]; then
138 echo FAILED: $fail/$total