Commit 48918e57 authored by incardon's avatar incardon

Fixing performance test

parent 66c9efba
......@@ -181,6 +181,24 @@ if test x"$scancoverty" = x"yes"; then
AC_DEFINE([COVERTY_SCAN],[],[Compile for coverty scan])
fi
###### Check for performance test
AC_MSG_CHECKING(whether to build with performance test)
test_per=no
AC_ARG_ENABLE(test-performance,
AC_HELP_STRING(
[--enable-test-performance],
[enable test performance]
),
test_per="$enableval"
)
AC_MSG_RESULT($test_per)
if test x"$test_per" = x"yes"; then
AC_DEFINE([PERFORMANCE_TEST],[],[Test performance mode])
fi
###### Checking for compiler flags -fext-numeric-literals
......
......@@ -11,7 +11,7 @@
#include <random>
#include "Vector/vector_dist.hpp"
#include "data_type/aggregate.hpp"
#include "Vector/vector_dist_performance_util.hpp"
#include "Vector/performance/vector_dist_performance_util.hpp"
/*! \brief Count the total number of particles
*
......
......@@ -10,9 +10,9 @@
BOOST_AUTO_TEST_SUITE( performance )
#include "Vector/vector_dist_verlet_performance_tests.hpp"
#include "Vector/vector_dist_cl_performance_tests.hpp"
#include "Vector/vector_dist_cl_hilb_performance_tests.hpp"
#include "Vector/performance/vector_dist_verlet_performance_tests.hpp"
#include "Vector/performance/vector_dist_cl_performance_tests.hpp"
#include "Vector/performance/vector_dist_cl_hilb_performance_tests.hpp"
BOOST_AUTO_TEST_SUITE_END()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment