fixing tests!
diff --git a/scripts/common.cmake b/scripts/common.cmake
index fc30668..a6b6a93 100644
--- a/scripts/common.cmake
+++ b/scripts/common.cmake
@@ -15,7 +15,7 @@
 

 # add a customized overloaded version of add_test() to suite my needs

 function(add_test)

-    cmake_parse_arguments(ARG "NO_VALGRIND;NO_OUTPUT" "NAME" "COMMAND" ${ARGN})

+    cmake_parse_arguments(ARG "NO_VALGRIND;NO_OUTPUT;NO_EXITCODE" "NAME" "COMMAND" ${ARGN})

     if(NOT "${ARG_UNPARSED_ARGUMENTS}" STREQUAL "" OR "${ARG_NAME}" STREQUAL "" OR "${ARG_COMMAND}" STREQUAL "")

         message(FATAL_ERROR "add_test() called with wrong options!")

     endif()

@@ -40,6 +40,10 @@
             list(APPEND ADDITIONAL_FLAGS -DTEST_OUTPUT_FILE=${CMAKE_CURRENT_SOURCE_DIR}/test_output/${ARG_NAME}.txt)

             list(APPEND ADDITIONAL_FLAGS -DTEST_TEMP_FILE=${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/temp_test_output.txt)

         endif()

+    else()

+        if(ARG_NO_EXITCODE)

+            list(APPEND ADDITIONAL_FLAGS -DNO_EXITCODE=ON)

+        endif()

     endif()

     

     list(APPEND ADDITIONAL_FLAGS -DTEST_MODE=${the_test_mode})

@@ -107,7 +111,9 @@
     add_compiler_flags(-Wmissing-declarations)

     add_compiler_flags(-Woverloaded-virtual)

     add_compiler_flags(-Wstrict-null-sentinel)

-    add_compiler_flags(-Wnoexcept)

+    if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)

+        add_compiler_flags(-Wnoexcept)

+    endif()

     

     if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)

         add_compiler_flags(-Wdouble-promotion)