aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-10 16:08:54 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-10 16:08:54 +0000
commitd227ccd6146730694779ea43ebf5834c18f3da5b (patch)
tree261121810ef99df1d21a0d765f95383d5fd6f423 /test
parentnow builds luajit as well (diff)
downloadmutator-d227ccd6146730694779ea43ebf5834c18f3da5b.tar.gz
mutator-d227ccd6146730694779ea43ebf5834c18f3da5b.zip
tests for bruiser
Diffstat (limited to 'test')
-rw-r--r--test/bruisertest/compile_commands.json7
-rw-r--r--test/bruisertest/makefile21
-rw-r--r--test/bruisertest/test.cpp21
3 files changed, 49 insertions, 0 deletions
diff --git a/test/bruisertest/compile_commands.json b/test/bruisertest/compile_commands.json
new file mode 100644
index 0000000..212a2c4
--- /dev/null
+++ b/test/bruisertest/compile_commands.json
@@ -0,0 +1,7 @@
+[
+ {
+ "command": "c++ -c -v -o test test.cpp",
+ "directory": "/home/bloodstalker/devi/hell2/test/bruisertest",
+ "file": "/home/bloodstalker/devi/hell2/test/bruisertest/test.cpp"
+ }
+] \ No newline at end of file
diff --git a/test/bruisertest/makefile b/test/bruisertest/makefile
new file mode 100644
index 0000000..cb237e4
--- /dev/null
+++ b/test/bruisertest/makefile
@@ -0,0 +1,21 @@
+include ../../macros.mk
+
+BRUISER_TEST=test
+
+.DEFAULT:all clean
+
+all:$(BRUISER_TEST)
+
+.cpp.o:
+ $(CXX) $(CXX_FLAGS) -c $< -o $@
+
+$(BRUISER_TEST): test.cpp
+ $(CXX) $^ $(LD_FLAGS) -o $@
+
+clean:
+ rm -f *.o *~ $(BRUISER_TEST)
+
+help:
+ @echo "the makfile for the bruiser test file."
+ @echo "there is the taget itself, all and clean."
+
diff --git a/test/bruisertest/test.cpp b/test/bruisertest/test.cpp
new file mode 100644
index 0000000..40bfb47
--- /dev/null
+++ b/test/bruisertest/test.cpp
@@ -0,0 +1,21 @@
+
+namespace devi
+{
+ class LOCO
+ {
+ public:
+ LOCO () {}
+
+ void lupo (void)
+ {
+ int a = 1;
+ int b = 2;
+ int c = 3;
+ }
+ };
+}
+
+int main(int argc, const char **argv)
+{
+
+}