Changeset 1914 for trunk/test_more


Ignore:
Timestamp:
May 8, 2011 12:13:30 PM (9 years ago)
Author:
bradbell
Message:

*/makefile.am:
Fix a problem where errors when runing the tests were not being detected by
'make test' at the top builddir level. This was accomplished by changing
'make test' to 'make test.sh' where test.sh is a script that runs the tests.

*/makefile.in: Changes automatically transferred for corresponding makefile.am.

base_complex.hpp: attempt to fix ambugity problem with isnan.
elapsed_seconds.cpp: increase tolerance for virtual machine.

Location:
trunk/test_more
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/makefile.am

    r1718 r1914  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    122122        -DNDEBUG -c $(top_srcdir)/test_more/ndebug.cpp -o ndebug.$(OBJEXT)
    123123
    124 test: test_more$(EXEEXT)
    125         ./test_more | tee test.log
     124test.sh: test_more$(EXEEXT)
     125        echo "#! /bin/sh -e"  > test.sh
     126        echo "./test_more "  >> test.sh
     127        chmod +x test.sh
  • trunk/test_more/makefile.in

    r1813 r1914  
    128128# $Id$
    129129# -----------------------------------------------------------------------------
    130 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
     130# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
    131131#
    132132# CppAD is distributed under multiple licenses. This distribution is under
     
    657657        -DNDEBUG -c $(top_srcdir)/test_more/ndebug.cpp -o ndebug.$(OBJEXT)
    658658
    659 test: test_more$(EXEEXT)
    660         ./test_more | tee test.log
     659test.sh: test_more$(EXEEXT)
     660        echo "#! /bin/sh -e"  > test.sh
     661        echo "./test_more "  >> test.sh
     662        chmod +x test.sh
    661663
    662664# Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset for help on using the changeset viewer.