aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-24 12:24:25 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-24 12:24:25 +0000
commitb52b7e0c0c60cf47120ebce7b83f993dd7e1c59a (patch)
tree0ead33d93f0a70044934cf22b12bad0714e08e8a
parentnew command (diff)
downloadmutator-b52b7e0c0c60cf47120ebce7b83f993dd7e1c59a.tar.gz
mutator-b52b7e0c0c60cf47120ebce7b83f993dd7e1c59a.zip
a new example script
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/mutation-example.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/mutation-example.lua b/bruiser/lua-scripts/mutation-example.lua
new file mode 100644
index 0000000..b863b71
--- /dev/null
+++ b/bruiser/lua-scripts/mutation-example.lua
@@ -0,0 +1,9 @@
+setmakepath("../test/bruisertest")
+make("clean")
+text = hijackmain()
+file = io.open("../test/bruisertest/mutatant.cpp", "w")
+print("------------------------------------------------------------------")
+print(text)
+print("------------------------------------------------------------------")
+file:write(a)
+file:close()