blob: e7c58ba09f27445a1088bcaf4502102a80cc56b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package require tcltest
namespace import -force tcltest::*
cd $tcltest::testsDirectory
set CFLAGS "-Os"
set KPATH "/lib/modules/[exec uname -r]/build/include"
set MPATH "/lib/modules/[exec uname -r]/build/include/asm/mach-default"
set PATH "../../user"
test printf_A {Basic printf test} -setup {
exec gcc $CFLAGS -I $KPATH -I $PATH -I $MPATH -o test div64.c
} -body {
exec ./test
} -result {OK}
exec rm test
cleanupTests
|