From 44674b300e866cfdaa734c0dc2f5a00a7022cf26 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 3 Oct 2018 01:07:11 +0330 Subject: added tests for wasm setters, faultreiber and tablegen now use the same xml file. makes things more consistent --- bruiser/autogen/wasm/ft.sh | 2 +- bruiser/autogen/wasm/ft/wasm.xml | 174 ------------------------------------ bruiser/autogen/wasm/ltg.sh | 2 +- bruiser/autogen/wasm/ltg/luwasm.xml | 174 ------------------------------------ bruiser/autogen/wasm/ltg/wasm.xml | 174 ------------------------------------ bruiser/autogen/wasm/wasm.xml | 174 ++++++++++++++++++++++++++++++++++++ 6 files changed, 176 insertions(+), 524 deletions(-) delete mode 100644 bruiser/autogen/wasm/ft/wasm.xml delete mode 100644 bruiser/autogen/wasm/ltg/luwasm.xml delete mode 100644 bruiser/autogen/wasm/ltg/wasm.xml create mode 100644 bruiser/autogen/wasm/wasm.xml (limited to 'bruiser/autogen') diff --git a/bruiser/autogen/wasm/ft.sh b/bruiser/autogen/wasm/ft.sh index 4910ff7..a7f5ac6 100755 --- a/bruiser/autogen/wasm/ft.sh +++ b/bruiser/autogen/wasm/ft.sh @@ -1,5 +1,5 @@ #!/bin/sh cd $(dirname $0) -"../../faultreiber/faultreiber.py" --name wasm --outdir ./ft/ --datetime --xml ./ft/wasm.xml --calloc --voidtraininitsize 60 --voidtrainfactor 1.9 +"../../faultreiber/faultreiber.py" --name wasm --outdir ./ft/ --datetime --xml ./wasm.xml --calloc --voidtraininitsize 60 --voidtrainfactor 1.9 #"clang-format" -i ./test/read.c ./test/structs.c ./test/structs.h ./test/aggregate.c ./test/aggregate.h ./test/read.h #"less" ./test/structs.h diff --git a/bruiser/autogen/wasm/ft/wasm.xml b/bruiser/autogen/wasm/ft/wasm.xml deleted file mode 100644 index dfae936..0000000 --- a/bruiser/autogen/wasm/ft/wasm.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - 1 - - - - - - - - 2 - - - - - - - - 3 - - - - - - - - 4 - - - - - - - - 5 - - - - - - - - 6 - - - - - - - - 7 - - - - - - - - 8 - - - - - - - 9 - - - - - - - - 10 - - - - - - - - 11 - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - 0 - 1 - 2 - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bruiser/autogen/wasm/ltg.sh b/bruiser/autogen/wasm/ltg.sh index 48643b9..9adecef 100755 --- a/bruiser/autogen/wasm/ltg.sh +++ b/bruiser/autogen/wasm/ltg.sh @@ -1,6 +1,6 @@ #!/bin/sh cd $(dirname $0) -"../../tablegen/luatablegen.py" --out ./ltg/ --luaheader ../../../lua-5.3.4/src --headeraggr ./ltg/wasm_tables.h --lualibpath ./ltg/wasm.lua --docpath ./ltg/wasm.md --xml ./ltg/luwasm.xml --tbldefs ./ltg/ --name wasm --anon +"../../tablegen/luatablegen.py" --out ./ltg/ --luaheader ../../../lua-5.3.4/src --headeraggr ./ltg/wasm_tables.h --lualibpath ./ltg/wasm.lua --docpath ./ltg/wasm.md --xml ./wasm.xml --tbldefs ./ltg/ --name wasm --anon clang-format ./ltg/*.c ./ltg/*.h -i for filename in ./ltg/*.c; do gcc -c $filename > /dev/null 2>&1 diff --git a/bruiser/autogen/wasm/ltg/luwasm.xml b/bruiser/autogen/wasm/ltg/luwasm.xml deleted file mode 100644 index 5ccd054..0000000 --- a/bruiser/autogen/wasm/ltg/luwasm.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - 1 - - - - - - - - 2 - - - - - - - - 3 - - - - - - - - 4 - - - - - - - - 5 - - - - - - - - 6 - - - - - - - - 7 - - - - - - - - 8 - - - - - - - 9 - - - - - - - - 10 - - - - - - - - 11 - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 1 - 2 - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bruiser/autogen/wasm/ltg/wasm.xml b/bruiser/autogen/wasm/ltg/wasm.xml deleted file mode 100644 index 6d8d0d2..0000000 --- a/bruiser/autogen/wasm/ltg/wasm.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - 1 - - - - - - - - 2 - - - - - - - - 3 - - - - - - - - 4 - - - - - - - - 5 - - - - - - - - 6 - - - - - - - - 7 - - - - - - - - 8 - - - - - - - 9 - - - - - - - - 10 - - - - - - - - 11 - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 1 - 2 - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bruiser/autogen/wasm/wasm.xml b/bruiser/autogen/wasm/wasm.xml new file mode 100644 index 0000000..5ccd054 --- /dev/null +++ b/bruiser/autogen/wasm/wasm.xml @@ -0,0 +1,174 @@ + + + + + + + 1 + + + + + + + + 2 + + + + + + + + 3 + + + + + + + + 4 + + + + + + + + 5 + + + + + + + + 6 + + + + + + + + 7 + + + + + + + + 8 + + + + + + + 9 + + + + + + + + 10 + + + + + + + + 11 + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 2 + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3