Update tests to use the util namespace

This commit is contained in:
Danny Robson 2011-11-04 17:28:04 +11:00
parent 6560353cb0
commit cdd1f60b0d
5 changed files with 12 additions and 6 deletions

View File

@ -101,6 +101,11 @@ AC_FUNC_MMAP
AC_CHECK_HEADER([execinfo.h], [break])
AM_CONDITIONAL([HAVE_EXECINFO], [test x$ac_cv_header_execinfo_h = "xyes"])
AC_SEARCH_LIBS([clock_gettime], [rt])
if [[ "x$ac_cv_search_clock_gettime" == "x-*" ]]; then
COMMON_LDFLAGS="$COMMON_LDFLAGS $ac_cv_search_clock_gettime"
fi
##
## Debug features

3
test/.gitignore vendored
View File

@ -1,5 +1,6 @@
/adler
/adler*
/backtrace*
/checksum*
/float*
/hton*
/ip*

View File

@ -1,5 +1,5 @@
#include "../debug.hpp"
#include "../matrix.hpp"
#include "../maths/matrix.hpp"
#include "../maths.hpp"
#include <iostream>

View File

@ -7,7 +7,7 @@
#include <algorithm>
using namespace std;
using namespace util;
void
check_single (void) {

View File

@ -2,12 +2,12 @@
#include <string>
#include <vector>
using namespace std;
#include "../version.hpp"
#include "../debug.hpp"
using namespace std;
using namespace util;
struct parsed_version {
string str;