From d227ccd6146730694779ea43ebf5834c18f3da5b Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 10 Jun 2017 20:38:54 +0430 Subject: tests for bruiser --- test/bruisertest/compile_commands.json | 7 +++++++ test/bruisertest/makefile | 21 +++++++++++++++++++++ test/bruisertest/test.cpp | 21 +++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 test/bruisertest/compile_commands.json create mode 100644 test/bruisertest/makefile create mode 100644 test/bruisertest/test.cpp 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) +{ + +} -- cgit v1.2.3