summaryrefslogtreecommitdiff
path: root/src/tests/VirtualMachineTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/VirtualMachineTest.cpp')
-rw-r--r--src/tests/VirtualMachineTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/VirtualMachineTest.cpp b/src/tests/VirtualMachineTest.cpp
index fef0538..0bf9bef 100644
--- a/src/tests/VirtualMachineTest.cpp
+++ b/src/tests/VirtualMachineTest.cpp
@@ -1,3 +1,5 @@
+#ifdef TEST
+
#include <iostream>
#include "virtualmachine/VirtualMachine.h"
@@ -8,4 +10,5 @@ int main(int argc, char * argv[])
vm->Call(0/*, 0, 88, 12*/);
std::cout << "Return value: " << vm->Pop<vm::uint4_t>() << std::endl;
//vm->Run();
-} \ No newline at end of file
+}
+#endif \ No newline at end of file