aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/mutation-example.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/lua-scripts/mutation-example.lua')
-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()