Changeset 2232


Ignore:
Timestamp:
Mar 26, 2010, 1:21:58 PM (12 years ago)
Author:
Peter
Message:

refs #475. added a lazycheck target; will need some docs in test/README.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r2230 r2232  
    3636doxygen_mk:; @(cd yat; $(MAKE) $(AM_MAKEFLAGS) $@)
    3737
    38 recheck: all
     38lazycheck recheck: all
    3939  @(cd test && $(MAKE) $(AM_MAKEFLAGS) $@)
    4040
  • trunk/test/Makefile.am

    r2231 r2232  
    9090EXTRA_DIST = $(DISTRIBUTED_TESTS)
    9191
     92TEST_EXTENSIONS = .sh
     93
    9294LDADD = $(top_builddir)/$(YAT_LIB_LOCATION)/libyat.la libyattest.la $(YAT_LIBS)
    9395
    9496libyattest_la_SOURCES = Suite.cc
     97
     98lazycheck:; $(MAKE) $(AM_MAKEFLAGS) check RECHECK_LOGS=
     99
     100# dependencies for lazycheck
     101static_test.sh: $(top_srcdir)/m4/yat.m4
     102yat_config_cblas_test.sh: $(top_builddir)/build_support/yat-config
     103yat_cpp_add_flag_test.sh: $(top_srcdir)/m4/yat_add_flag.m4 $(top_srcdir)/m4/ax_cxxcpp_check_flag.m4
     104yat_cxx_add_flag_test.sh: $(top_srcdir)/m4/yat_add_flag.m4 $(top_srcdir)/m4/ax_cxx_check_flag.m4
     105yat_ld_add_flag_test.sh: $(top_srcdir)/m4/yat_add_flag.m4 $(top_srcdir)/m4/ax_ld_check_flag.m4
     106yat_m4_test.sh:$(top_srcdir)/m4/yat.m4 $(top_builddir)/build_support/yat-config
     107yat_m4_test2.sh:$(top_srcdir)/m4/yat.m4
     108
     109# all shell tests depend on common_defs.sh
     110$(DISTRIBUTED_TESTS): common_defs.sh
     111
     112## we wanna rerun documentation_test if a header file has
     113## changed. Depending on libyat should cover all those cases. When
     114## libyat has beed recreated due to source changes and not header file
     115## changes the documentation_test is very cheap anyway since 'make
     116## doc' will do nothing.
     117documentation_test.sh: $(top_builddir)/yat/libyat.la
  • trunk/test/README

    r2228 r2232  
    1414    make check
    1515
    16   To run only failed tests:
     16  To rerun only failed tests:
    1717
    1818    make recheck
     19
     20  To rerun only those tests for there are newer sources
     21
     22    make lazycheck
    1923
    2024  To run only a subset of tests, use TESTS variable:
Note: See TracChangeset for help on using the changeset viewer.