Changeset 1640


Ignore:
Timestamp:
Feb 1, 2010 7:39:53 AM (10 years ago)
Author:
bradbell
Message:

/home/bradbell/cppad/trunk: Add a 'make test' option that runs all tests.

svn_status.sh: exclude some new file names that are not source.
*/makefile.am: add the 'make test' option.
*/makefile.in: automatic changes transferred from corresponding makefile.am.
test.cpp: moved to test_more.cpp.
test_more.cpp: moved here from test.cpp.
build.sh: use new 'make test' option to simplify this script.
makefile.am: create a shell script called test.sh that does the work.
check_svn_dist.sh: use new 'make test' option to simplify this script.
example.cpp: improve output when speed_test correctness check fails.

Location:
trunk
Files:
36 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/build.sh

    r1638 r1640  
    2121        if [ "$1" == "all" ] && [ "$2" == "" ]
    2222        then
     23                echo "./build.sh all"
    2324                options="
    2425                        version
     
    4142        if [ "$1" == "all" ] && [ "$2" == "dos" ]
    4243        then
     44                echo "./build.sh all dos"
    4345                options="
    4446                        version
     
    6264        if [ "$1" == "all" ] && [ "$2" == "test" ]
    6365        then
     66                echo "./build.sh all test"
    6467                options="
    6568                        version
     
    590593        dir=`pwd`
    591594        cd cppad-$version
    592         # -------------------------------------------------------------
     595        # ===================================================================
    593596        # Configure
    594597        #
     
    667670        echo "$msg" >> $dir/build_test.log
    668671        # -------------------------------------------------------------
    669         # Compile
    670         #
     672        # Build and run all the tests
    671673        # gcc 3.4.4 with optimization generates incorrect warning; see
    672         #       http://cygwin.com/ml/cygwin-apps/2005-06/msg00161.html
     674        #       http://cygwin.com/ml/cygwin-apps/2005-06/msg00161.html
    673675        # The sed commands below are intended to remove them.
    674         echo "make >& $dir/make.log"
     676        echo "make test >& $dir/make.log"
    675677        echo "The following will give an overview of progress of command above"
    676         echo "  grep \"^Making all\" $dir/make.log"
     678        echo "  cat $dir/cppad-$version/test.log"
    677679        echo "The following will give details of progress of command above"
    678680        echo "  tail -f $dir/make.log"
    679         if ! make >&  ../make.log
     681        if ! make test >&  ../make.log
    680682        then
    681683                echo "There are errors in $dir/make.log"
     
    692694                exit 1
    693695        fi
    694         echo "OK: make"
    695         echo "OK: make" >> $dir/build_test.log
    696         # ---------------------------------------------------------------
    697         # Run execuables
    698         #
    699         list="
    700                 example/example
    701                 introduction/exp_apx/exp_apx
    702                 introduction/get_started/get_started
    703                 test_more/test_more
    704         "
    705         if [ -e $IPOPT_DIR/include/coin/IpIpoptApplication.hpp ]
    706         then
    707                 list="
    708                         cppad_ipopt/example/example
    709                         cppad_ipopt/speed/speed
    710                         cppad_ipopt/test/test
    711                         $list
    712                 "
    713         fi
    714         for program in $list
    715         do
    716                 echo "running $program"
    717                 echo "$program"   >> $dir/build_test.log
    718                 if ! ./$program   >> $dir/build_test.log
    719                 then
    720                         echo "Error: $program failed."
    721                         echo "Error: $program failed." >> $dir/build_test.log
    722                         exit 1
    723                 fi
    724                 # add a new line between program outputs
    725                 echo ""  >> $dir/build_test.log
    726         done
    727         list="
    728                 cppad
    729                 double
    730                 example
    731                 profile
    732         "
    733         if [ -e $ADOLC_DIR/include/adolc ]
    734         then
    735                 list="$list adolc"
    736         fi
    737         if [ -e $FADBAD_DIR/FADBAD++ ]
    738         then
    739                 list="$list fadbad"
    740         fi
    741         if [ -e $SACADO_DIR/include/Sacado.hpp ]
    742         then
    743                 list="$list sacado"
    744         fi
    745         seed="123"
    746         for retape in "" retape
    747         do
    748         for name in $list
    749         do
    750                 # Note that example does not use command line arguments,
    751                 # but it does not currently care about their presence.
    752                 echo "running speed/$name/$name correct $seed $retape"
    753                 echo "./speed/$name/$name correct $seed $retape" \
    754                         >> $dir/build_test.log
    755                 if ! ./speed/$name/$name correct  $seed $retape \
    756                         >> $dir/build_test.log
    757                 then
    758                         program="speed/$name/$name"
    759                         echo "Error: $program failed."
    760                         echo "Error: $program failed." >> $dir/build_test.log
    761                         exit 1
    762                 fi
    763                 # add a new line between program outputs
    764                 echo ""  >> $dir/build_test.log
    765         done
    766         done
    767         echo "openmp/run.sh"
    768         echo "openmp/run.sh" >> $dir/build_test.log
    769         if !  openmp/run.sh >> $dir/build_test.log
    770         then
    771                 failed="openmp/run.sh $program"
    772                 echo "Error: $failed failed."
    773                 echo "Error: $failed failed." >> $dir/build_test.log
    774                 exit 1
    775         fi
    776         echo "" >> $dir/build_test.log
    777         #
     696        echo "OK: make test"
     697        echo "OK: make test" >> $dir/build_test.log
     698        # ===================================================================
    778699        cd ..
    779700        # end the build_test.log file with the date and time
  • trunk/check_svn_dist.sh

    r1636 r1640  
    3232fi
    3333# ----------------------------------------------------------------------------
     34# Build and run all the tests
     35# gcc 3.4.4 with optimization generates incorrect warning; see
     36#       http://cygwin.com/ml/cygwin-apps/2005-06/msg00161.html
     37# The sed commands below are intended to remove them.
    3438dir=`pwd`
    35 list="
    36         example
    37         test_more
    38         cppad_ipopt/src
    39         cppad_ipopt/example
    40         cppad_ipopt/speed
    41         cppad_ipopt/test
    42 "
    43 for name in $list
    44 do
    45         echo "cd $dir/$name"
    46         if ! cd $dir/$name
    47         then
    48                 echo "$script: cannot change into $dir/$name directory"
    49                 exit 1
    50         fi
    51         echo "make"
    52         if ! make
    53         then
    54                 echo "$script: $dir/$name/make failed"
    55                 exit 1
    56         fi
    57         program=`echo $name | sed -e 's|.*/||'`
    58         # src directories create libraries
    59         if [ "$program" != "src" ]
    60         then
    61                 echo "./$program"
    62                 if ! ./$program
    63                 then
    64                         echo "$script: $dir/$name/$program failed"
    65                         exit 1
    66                 fi
    67                 echo "cd $dir"
    68                 cd $dir
    69         fi
    70 done
     39echo "make test >& $dir/make.log"
     40echo "The following will give an overview of progress of command above"
     41echo "  $dir/cat test.log"
     42echo "The following will give details of progress of command above"
     43echo "  tail -f $dir/make.log"
     44if ! make test >&  make.log
     45then
     46        echo "There are errors in $dir/make.log"
     47        exit 1
     48fi
     49sed -i make.log \
     50        -e '/op_code.hpp:368: warning: array subscript is above/d' \
     51        -e '/stl_uninitialized.h:82: warning: .__cur. might be/d'
     52if grep 'warning:' make.log
     53then
     54        tmp=`pwd`
     55        echo "Stopping because there are unexpected warnings in"
     56        echo "$dir/make.log"
     57        exit 1
     58fi
     59cat test.log
     60echo "OK: make test"
  • trunk/cppad_ipopt/example/makefile.am

    r1635 r1640  
    5252        ode_simple_check.cpp \
    5353        ode_simple.hpp
     54
     55test: example$(EXEEXT)
     56        ./example | tee test.log
  • trunk/cppad_ipopt/example/makefile.in

    r1636 r1640  
    487487
    488488
     489test: example$(EXEEXT)
     490        ./example | tee test.log
     491
    489492# Tell versions [3.59,3.63) of GNU make to not export all variables.
    490493# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/cppad_ipopt/speed/makefile.am

    r1636 r1640  
    4444        ../src/vec_fun_pattern.cpp \
    4545        ode_speed.cpp
     46
     47test: speed$(EXEEXT)
     48        ./speed | tee test.log
  • trunk/cppad_ipopt/speed/makefile.in

    r1637 r1640  
    551551
    552552
     553test: speed$(EXEEXT)
     554        ./speed | tee test.log
     555
    553556# Tell versions [3.59,3.63) of GNU make to not export all variables.
    554557# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/cppad_ipopt/src/makefile.am

    r1636 r1640  
    4343        vec_fun_pattern.cpp  \
    4444        vec_fun_pattern.hpp
     45
     46test: libcppad_ipopt.a
     47        echo "cppad_ipopt/src: Done building libcppad_ipopt.a" > test.log
  • trunk/cppad_ipopt/src/makefile.in

    r1636 r1640  
    533533
    534534
     535test: libcppad_ipopt.a
     536        echo "cppad_ipopt/src: Done building libcppad_ipopt.a" > test.log
     537
    535538# Tell versions [3.59,3.63) of GNU make to not export all variables.
    536539# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/cppad_ipopt/test/makefile.am

    r1636 r1640  
    2121endif
    2222#
    23 noinst_PROGRAMS   = test
     23noinst_PROGRAMS   = test_more
    2424#
    2525AM_CXXFLAGS       = -g $(CXX_FLAGS)
     
    3333AM_LDFLAGS        = -L../src -L$(IPOPT_DIR)/lib
    3434#
    35 test_SOURCES   = \
    36         test.cpp \
     35test_more_SOURCES   = \
     36        test_more.cpp \
    3737        k_gt_one.cpp \
    3838        multiple_solution.cpp \
    3939        retape_k1_l1.cpp \
    4040        retape_k1_l2.cpp
     41
     42test: test_more$(EXEEXT)
     43        ./test_more | tee test.log
  • trunk/cppad_ipopt/test/makefile.in

    r1637 r1640  
    3333PRE_UNINSTALL = :
    3434POST_UNINSTALL = :
    35 noinst_PROGRAMS = test$(EXEEXT)
     35noinst_PROGRAMS = test_more$(EXEEXT)
    3636subdir = cppad_ipopt/test
    3737DIST_COMMON = $(srcdir)/makefile.am $(srcdir)/makefile.in
     
    4545CONFIG_CLEAN_VPATH_FILES =
    4646PROGRAMS = $(noinst_PROGRAMS)
    47 am_test_OBJECTS = test.$(OBJEXT) k_gt_one.$(OBJEXT) \
     47am_test_more_OBJECTS = test_more.$(OBJEXT) k_gt_one.$(OBJEXT) \
    4848        multiple_solution.$(OBJEXT) retape_k1_l1.$(OBJEXT) \
    4949        retape_k1_l2.$(OBJEXT)
    50 test_OBJECTS = $(am_test_OBJECTS)
    51 test_LDADD = $(LDADD)
     50test_more_OBJECTS = $(am_test_more_OBJECTS)
     51test_more_LDADD = $(LDADD)
    5252am__DEPENDENCIES_1 =
    53 test_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
     53test_more_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
    5454        $(am__DEPENDENCIES_1)
    5555DEFAULT_INCLUDES =
     
    6262CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    6363        -o $@
    64 SOURCES = $(test_SOURCES)
    65 DIST_SOURCES = $(test_SOURCES)
     64SOURCES = $(test_more_SOURCES)
     65DIST_SOURCES = $(test_more_SOURCES)
    6666ETAGS = etags
    6767CTAGS = ctags
     
    199199AM_LDFLAGS = -L../src -L$(IPOPT_DIR)/lib
    200200#
    201 test_SOURCES = \
    202         test.cpp \
     201test_more_SOURCES = \
     202        test_more.cpp \
    203203        k_gt_one.cpp \
    204204        multiple_solution.cpp \
     
    243243clean-noinstPROGRAMS:
    244244        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    245 test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES)
    246         @rm -f test$(EXEEXT)
    247         $(CXXLINK) $(test_OBJECTS) $(test_LDADD) $(LIBS)
     245test_more$(EXEEXT): $(test_more_OBJECTS) $(test_more_DEPENDENCIES)
     246        @rm -f test_more$(EXEEXT)
     247        $(CXXLINK) $(test_more_OBJECTS) $(test_more_LDADD) $(LIBS)
    248248
    249249mostlyclean-compile:
     
    257257@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/retape_k1_l1.Po@am__quote@
    258258@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/retape_k1_l2.Po@am__quote@
    259 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test.Po@am__quote@
     259@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_more.Po@am__quote@
    260260
    261261.cpp.o:
     
    469469
    470470
     471test: test_more$(EXEEXT)
     472        ./test_more | tee test.log
     473
    471474# Tell versions [3.59,3.63) of GNU make to not export all variables.
    472475# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/example/makefile.am

    r1611 r1640  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    174174        var_2par.cpp \
    175175        vec_ad.cpp
     176
     177test: example$(EXEEXT)
     178        ./example | tee test.log
  • trunk/example/makefile.in

    r1630 r1640  
    785785
    786786
     787test: example$(EXEEXT)
     788        ./example | tee test.log
     789
    787790# Tell versions [3.59,3.63) of GNU make to not export all variables.
    788791# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/introduction/exp_apx/makefile.am

    r1611 r1640  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    5151        exp_eps_rev1.cpp \
    5252        exp_eps_rev2.cpp
     53
     54test: exp_apx$(EXEEXT)
     55        ./exp_apx | tee test.log
  • trunk/introduction/exp_apx/makefile.in

    r1630 r1640  
    496496
    497497
     498test: exp_apx$(EXEEXT)
     499        ./exp_apx | tee test.log
     500
    498501# Tell versions [3.59,3.63) of GNU make to not export all variables.
    499502# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/introduction/get_started/makefile.am

    r1611 r1640  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    3131#
    3232get_started_SOURCES = get_started.cpp
     33#
     34test: get_started$(EXEEXT)
     35        ./get_started | tee test.log
  • trunk/introduction/get_started/makefile.in

    r1630 r1640  
    449449        uninstall-am
    450450
     451#
     452test: get_started$(EXEEXT)
     453        ./get_started | tee test.log
    451454
    452455# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • trunk/makefile.am

    r1634 r1640  
    308308        run_omhelp.sh \
    309309        uw_copy_040507.html
     310
     311test_directory_list = \
     312        $(INTRODUCTION) \
     313        $(IPOPT_CPPAD) \
     314        $(SPEED_CPPAD) \
     315        $(SPEED_ADOLC) \
     316        $(SPEED_FADBAD) \
     317        $(SPEED_SACADO) \
     318        $(EXAMPLE) \
     319        $(TEST_MORE)
     320
     321test:
     322        rm -f test.log
     323        touch test.log
     324        rm -f test.sh
     325        echo "#! /bin/sh"                                         >  test.sh
     326        for dir in $(test_directory_list) ; do ( \
     327                echo "echo $$dir >> test.log ; pushd $$dir "         >> test.sh ; \
     328                echo "if ! make test ; then exit 1 ; fi "            >> test.sh ; \
     329                echo "cat test.log >> $(abs_top_builddir)/test.log"  >> test.sh ; \
     330                echo "popd ; echo >> test.log"                       >> test.sh ; \
     331        ) done
     332        chmod +x test.sh
     333        ./test.sh
     334        openmp/run.sh > openmp/test.log
     335        cat openmp/test.log >> test.log
     336        cat test.log
     337#
    310338#
    311339dist-hook:
  • trunk/makefile.in

    r1635 r1640  
    523523        uw_copy_040507.html
    524524
     525test_directory_list = \
     526        $(INTRODUCTION) \
     527        $(IPOPT_CPPAD) \
     528        $(SPEED_CPPAD) \
     529        $(SPEED_ADOLC) \
     530        $(SPEED_FADBAD) \
     531        $(SPEED_SACADO) \
     532        $(EXAMPLE) \
     533        $(TEST_MORE)
     534
    525535#
    526536@CppAD_DOCUMENTATION_TRUE@doc_postfix = $(DESTDIR)$(datadir)/doc/$(postfix_dir)
     
    10511061        uninstall-nobase_myincludeHEADERS
    10521062
     1063
     1064test:
     1065        rm -f test.log
     1066        touch test.log
     1067        rm -f test.sh
     1068        echo "#! /bin/sh"                                         >  test.sh
     1069        for dir in $(test_directory_list) ; do ( \
     1070                echo "echo $$dir >> test.log ; pushd $$dir "         >> test.sh ; \
     1071                echo "if ! make test ; then exit 1 ; fi "            >> test.sh ; \
     1072                echo "cat test.log >> $(abs_top_builddir)/test.log"  >> test.sh ; \
     1073                echo "popd ; echo >> test.log"                       >> test.sh ; \
     1074        ) done
     1075        chmod +x test.sh
     1076        ./test.sh
     1077        openmp/run.sh > openmp/test.log
     1078        cat openmp/test.log >> test.log
     1079        cat test.log
     1080#
    10531081#
    10541082dist-hook:
  • trunk/speed/adolc/makefile.am

    r1638 r1640  
    5151        sparse_hessian.cpp \
    5252        sparse_jacobian.cpp
     53
     54test: adolc$(EXEEXT)
     55        echo "./adolc correct 123" > test.log
     56        ./adolc correct 123 | tee test.tmp
     57        cat test.tmp >> test.log
     58        echo "./adolc correct 123 retape" >> test.log
     59        ./adolc correct 123 retape | tee test.tmp
     60        cat test.tmp >> test.log
  • trunk/speed/adolc/makefile.in

    r1639 r1640  
    587587
    588588
     589test: adolc$(EXEEXT)
     590        echo "./adolc correct 123" > test.log
     591        ./adolc correct 123 | tee test.tmp
     592        cat test.tmp >> test.log
     593        echo "./adolc correct 123 retape" >> test.log
     594        ./adolc correct 123 retape | tee test.tmp
     595        cat test.tmp >> test.log
     596
    589597# Tell versions [3.59,3.63) of GNU make to not export all variables.
    590598# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/cppad/makefile.am

    r1638 r1640  
    5050        sparse_hessian.cpp \
    5151        sparse_jacobian.cpp
     52
     53test: cppad$(EXEEXT)
     54        echo "./cppad correct 123" > test.log
     55        ./cppad correct 123 | tee test.tmp
     56        cat test.tmp >> test.log
     57        echo "./cppad correct 123 retape" >> test.log
     58        ./cppad correct 123 retape | tee test.tmp
     59        cat test.tmp >> test.log
     60        echo "./cppad correct 123 optimize" >> test.log
     61        ./cppad correct 123 optimize | tee test.tmp
     62        cat test.tmp >> test.log
  • trunk/speed/cppad/makefile.in

    r1639 r1640  
    585585
    586586
     587test: cppad$(EXEEXT)
     588        echo "./cppad correct 123" > test.log
     589        ./cppad correct 123 | tee test.tmp
     590        cat test.tmp >> test.log
     591        echo "./cppad correct 123 retape" >> test.log
     592        ./cppad correct 123 retape | tee test.tmp
     593        cat test.tmp >> test.log
     594        echo "./cppad correct 123 optimize" >> test.log
     595        ./cppad correct 123 optimize | tee test.tmp
     596        cat test.tmp >> test.log
     597
    587598# Tell versions [3.59,3.63) of GNU make to not export all variables.
    588599# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/double/makefile.am

    r1638 r1640  
    5050        sparse_hessian.cpp \
    5151        sparse_jacobian.cpp
     52
     53test: double$(EXEEXT)
     54        ./double correct 123 | tee test.log
  • trunk/speed/double/makefile.in

    r1639 r1640  
    585585
    586586
     587test: double$(EXEEXT)
     588        ./double correct 123 | tee test.log
     589
    587590# Tell versions [3.59,3.63) of GNU make to not export all variables.
    588591# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/example/example.cpp

    r1401 r1640  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    9292                cout << "speed_test also passed correctness test" << endl;
    9393        else
    94         {       cout << "speed_test failed its correctness test (OK if ";
    95                 cout << "other processes are running at same time)" << endl;
     94        {       cout << "speed_test failed its correctness test" << endl;
     95                cout << "(expected if other processes are running)" << endl;
    9696        }
    9797
  • trunk/speed/example/makefile.am

    r1369 r1640  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-08 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
     
    3737        sparse_evaluate.cpp \
    3838        speed_test.cpp
     39
     40test: example$(EXEEXT)
     41        ./example | tee test.log
  • trunk/speed/example/makefile.in

    r1630 r1640  
    466466
    467467
     468test: example$(EXEEXT)
     469        ./example | tee test.log
     470
    468471# Tell versions [3.59,3.63) of GNU make to not export all variables.
    469472# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/fadbad/makefile.am

    r1638 r1640  
    5050        sparse_hessian.cpp \
    5151        sparse_jacobian.cpp
     52
     53test: fadbad$(EXEEXT)
     54        ./fadbad correct 123 | tee test.log
  • trunk/speed/fadbad/makefile.in

    r1639 r1640  
    585585
    586586
     587test: fadbad$(EXEEXT)
     588        ./fadbad correct 123 | tee test.log
     589
    587590# Tell versions [3.59,3.63) of GNU make to not export all variables.
    588591# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/profile/makefile.am

    r1638 r1640  
    5252        ../cppad/sparse_hessian.cpp \
    5353        ../cppad/sparse_jacobian.cpp
     54
     55test: profile$(EXEEXT)
     56        ./profile correct 123 | tee test.log
  • trunk/speed/profile/makefile.in

    r1639 r1640  
    671671
    672672
     673test: profile$(EXEEXT)
     674        ./profile correct 123 | tee test.log
     675
    673676# Tell versions [3.59,3.63) of GNU make to not export all variables.
    674677# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/speed/sacado/makefile.am

    r1638 r1640  
    5252        sparse_hessian.cpp \
    5353        sparse_jacobian.cpp
     54
     55test: sacado$(EXEEXT)
     56        ./sacado correct 123 | tee test.log
  • trunk/speed/sacado/makefile.in

    r1639 r1640  
    589589
    590590
     591test: sacado$(EXEEXT)
     592        ./sacado correct 123 | tee test.log
     593
    591594# Tell versions [3.59,3.63) of GNU make to not export all variables.
    592595# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/svn_status.sh

    r1636 r1640  
    5050        -e '/^[?].*\/junk\.[0-9a-zA-Z]*$/d'                   \
    5151        -e '/^[?] *junk\.[0-9a-zA-Z]*$/d'                     \
    52         -e '/^[?] *dev$/d'                                    \
    53         -e '/^[?] *config.status$/d'                          \
    54         -e '/^[?] *doc$/d'                                    \
    55         -e '/^[?] *doxydoc$/d'                                \
    56         -e '/^[?] *dev$/d'                                    \
    5752        -e '/^[?] *aclocal.m4$/d'                             \
    5853        -e '/^[?] *cppad-[0-9]\{8\}.*$/d'                     \
     54        -e '/^[?] *config.status$/d'                          \
     55        -e '/^[?] *dev$/d'                                    \
     56        -e '/^[?] *doc$/d'                                    \
    5957        -e '/^[?] *doc.omh$/d'                                \
     58        -e '/^[?] *doxydoc$/d'                                \
    6059        -e '/^[?] *doxyfile$/d'                               \
     60        -e '/^[?] *doxygen.err$/d'                            \
    6161        -e '/^[?] *svn_dist$/d'                               \
     62        -e '/^[?] *test.sh$/d'                                \
    6263        -e '/^[?] *omh\/install_unix.omh$/d'                  \
    6364        -e '/^[?] *omh\/install_windows.omh$/d'               \
    64         -e '/^[?] *example\/test_one.sh$/d'                   \
    65         -e '/^[?] *test_more\/test_one.sh$/d'                 \
    66         -e '/^[?] *example\/example$/d'                       \
    6765        -e '/^[?] *cppad_ipopt\/example\/example$/d'          \
    6866        -e '/^[?] *cppad_ipopt\/speed\/speed$/d'              \
    69         -e '/^[?] *cppad_ipopt\/test\/test$/d'                \
     67        -e '/^[?] *cppad_ipopt\/test\/test_more$/d'           \
    7068        -e '/^[?] *cppad_ipopt\/ipopt_ode_speed$/d'           \
     69        -e '/^[?] *example\/test_one.sh$/d'                   \
     70        -e '/^[?] *example\/example$/d'                       \
     71        -e '/^[?] *introduction\/exp_apx\/exp_apx$/d'         \
     72        -e '/^[?] *introduction\/get_started\/get_started$/d' \
    7173        -e '/^[?] *print_for\/print_for$/d'                   \
    7274        -e '/^[?] *speed\/adolc\/adolc$/d'                    \
     
    7880        -e '/^[?] *speed\/sacado\/sacado$/d'                  \
    7981        -e '/^[?] *test_more\/test_more$/d'                   \
     82        -e '/^[?] *test_more\/test_one.sh$/d'                 \
    8083        -e '/^[?] *cppad_ipopt\/include$/d'                   \
    8184        -e '/^[?] *cppad_ipopt\/lib$/d'                       \
  • trunk/test_more/makefile.am

    r1633 r1640  
    116116        vec_ad_par.cpp \
    117117        vec_unary.cpp
     118
     119test: test_more$(EXEEXT)
     120        ./test_more | tee test.log
  • trunk/test_more/makefile.in

    r1634 r1640  
    643643
    644644
     645test: test_more$(EXEEXT)
     646        ./test_more | tee test.log
     647
    645648# Tell versions [3.59,3.63) of GNU make to not export all variables.
    646649# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.