mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-30 19:52:18 +00:00
74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
|
|
# Testing Jamfile
|
|
subproject libs/date_time/test ;
|
|
|
|
# bring in rules for testing
|
|
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
|
include testing.jam ;
|
|
|
|
# Make tests run by default.
|
|
DEPENDS all : test ;
|
|
|
|
rule date_time-run ( files + : requirements * )
|
|
{
|
|
return [ run $(files) <lib>../build/boost_date_time : : : std::facet-support $(requirements) ] ;
|
|
}
|
|
|
|
rule date_time-prun ( files + : requirements * )
|
|
{
|
|
return [ date_time-run $(files) : $(requirements) <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG ] ;
|
|
}
|
|
|
|
{
|
|
test-suite date_time_core
|
|
:
|
|
[ run testint_adapter.cpp ]
|
|
[ run testtime_resolution_traits.cpp ]
|
|
[ run testwrapping_int.cpp ]
|
|
[ run testconstrained_value.cpp ]
|
|
[ run testgregorian_calendar.cpp ]
|
|
;
|
|
|
|
test-suite date_time_gregorian
|
|
:
|
|
[ date_time-run gregorian/testdate.cpp ]
|
|
[ date_time-run gregorian/testdate_duration.cpp ]
|
|
[ date_time-run gregorian/testperiod.cpp ]
|
|
[ date_time-run gregorian/testdate_iterator.cpp ]
|
|
[ date_time-run gregorian/testfacet.cpp ]
|
|
[ date_time-run gregorian/testformatters.cpp ]
|
|
[ date_time-run gregorian/testgenerators.cpp ]
|
|
[ date_time-run gregorian/testgreg_cal.cpp ]
|
|
[ date_time-run gregorian/testgreg_day.cpp ]
|
|
[ date_time-run gregorian/testgreg_month.cpp ]
|
|
[ date_time-run gregorian/testparse_date.cpp ]
|
|
;
|
|
|
|
test-suite date_time_posixtime
|
|
:
|
|
[ date_time-prun posix_time/testlocal_adjustor.cpp ]
|
|
[ date_time-prun posix_time/testc_local_adjustor.cpp ]
|
|
[ date_time-prun posix_time/testclock.cpp ]
|
|
[ date_time-prun posix_time/testdst_rules.cpp ]
|
|
[ date_time-prun posix_time/testduration.cpp ]
|
|
[ date_time-prun posix_time/testiterator.cpp ]
|
|
[ date_time-prun posix_time/testparse_time.cpp ]
|
|
[ date_time-prun posix_time/testperiod.cpp ]
|
|
[ date_time-prun posix_time/testtime.cpp ]
|
|
[ date_time-prun posix_time/testmicrosec_time_clock.cpp ]
|
|
;
|
|
|
|
}
|
|
|
|
# Copyright (c) 2000
|
|
# CrystalClear Software, Inc.
|
|
#
|
|
# Permission to use, copy, modify, distribute and sell this software
|
|
# and its documentation for any purpose is hereby granted without fee,
|
|
# provided that the above copyright notice appear in all copies and
|
|
# that both that copyright notice and this permission notice appear
|
|
# in supporting documentation. CrystalClear Software makes no
|
|
# representations about the suitability of this software for any
|
|
# purpose. It is provided "as is" without express or implied warranty.
|
|
|