From 2b97985ac4768e57862835194902b28df0f96200 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 23 Jul 2017 12:10:39 +0430 Subject: test scripts for the precommit script to run, mainly copies of mutation-example and testfile1 lua scripts --- bruiser/lua-scripts/pre2.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bruiser/lua-scripts/pre2.lua (limited to 'bruiser/lua-scripts/pre2.lua') diff --git a/bruiser/lua-scripts/pre2.lua b/bruiser/lua-scripts/pre2.lua new file mode 100644 index 0000000..9abd811 --- /dev/null +++ b/bruiser/lua-scripts/pre2.lua @@ -0,0 +1,12 @@ +setmakepath("./test/bruisertest") +setbinpath("./test/bruisertest") +make("clean") +make("all") +--extractmutagen("test.cpp") +text = hijackmain() +file = io.open("./test/bruisertest/mutant.cpp", "w") +print("------------------------------------------------------------------") +print(text) +print("------------------------------------------------------------------") +file:write() +file:close() -- cgit v1.2.3