Commit Graph

1149 Commits

Author SHA1 Message Date
Dave Abrahams
2b392b9c3f new initialization code + tests
[SVN r13687]
2002-05-06 17:51:21 +00:00
Vladimir Prus
13dc7be0d6 Forgotten file.
[SVN r13682]
2002-05-06 09:14:28 +00:00
Vladimir Prus
526a6b60ec Work on project/targets modules.
* new/targets.jam: Considerably changed.
    * new/project.jam: Projects now return project targets via 'target' rule.
        Requirements are inherited. Renames 'subinclude(s)' to 'subproject(s)'.
        (find-jamfile): Rewritten, which fixes some bugs.
    * new/project-root/jam: (print): Sort projects first by they id, which
        makes order more predictable.
    * test/project-test1.py: Also run test from the 'project-test1' dir.
    * test/project-test2.py: New test.


[SVN r13681]
2002-05-06 09:11:30 +00:00
Vladimir Prus
180d72a999 Fixes.
* test/BoostBuild.py (Test.run_build_system): Now really allow any exit
        status if the 'status' paremeter is 'None', per documentation.


[SVN r13680]
2002-05-06 08:48:08 +00:00
Vladimir Prus
05219612c8 Test system fixes.
* test/BoostBuild.py (Tester.__init__): New paremeter 'arguments'. Add
        BOOST_BUILD_PATH to the command line.
        (Tester.set_tree): Make files writable after copying.
        (Tester.copy): New method
        (Test.read): Open file in read mode.
    * test/test_system.html: Documented the above changes. Small cleanups.
    * new/test.jam: Remove bootstrap code.
    * new/readme.txt: Changed command line for running unit tests.


[SVN r13678]
2002-05-06 07:22:46 +00:00
Rene Rivera
4710ebfa4d Updated test to use generic print rules instead of dump rule. And therefore removed dump rule.
[SVN r13667]
2002-05-04 15:44:38 +00:00
Vladimir Prus
81c11a458f Some property functions.
* property.jam (refine-properties): New rule.
    * feature.jam: New feature attribute 'link-incompatible'.
    * test.jam: Test the property module.


[SVN r13640]
2002-05-03 14:15:18 +00:00
Dave Abrahams
ee065366a2 initial checkin
[SVN r13637]
2002-05-03 12:35:41 +00:00
Vladimir Prus
cfbf941144 Enhancements for project.lookup.
* new/project.jam (lookup): Require second argument, which specifies
        directory, relative to which paths in id should be interpreted.
    * test/project-test1.jam: Test for the above change.


[SVN r13636]
2002-05-03 10:10:14 +00:00
Vladimir Prus
99f579c5c9 Updated project-test1.py.
[SVN r13635]
2002-05-03 09:46:01 +00:00
Dave Abrahams
202045e0c2 Eliminated bogus ^M characters
[SVN r13626]
2002-05-02 19:01:29 +00:00
Dave Abrahams
0241b6de73 Workaround for crazy assertion in Jambase
[SVN r13625]
2002-05-02 19:01:07 +00:00
Dave Abrahams
64ae13d9a8 Show *full* build command on failure
[SVN r13624]
2002-05-02 19:00:38 +00:00
Dave Abrahams
c9a4bf48b3 Updated test to take advantage of --build-system=... option
[SVN r13620]
2002-05-02 16:44:13 +00:00
Dave Abrahams
30ef00ea04 Initial checkin, includes test instructions
[SVN r13619]
2002-05-02 16:41:36 +00:00
Dave Abrahams
6dc0ba2240 Added --debug --quiet to args used when running tests
[SVN r13618]
2002-05-02 16:39:04 +00:00
Vladimir Prus
2b7b4614eb Test system improvements.
* BoostBuild.py
        (Tester.expect_nothing): New method.
        (Tester.run_build_system): Added 'subdir' argument. Take a nap
        after running bjam, so that further touches to files are detected.
    * test_system.html
        Document the above changes. Document earlier changes to List{}.
        Fixed typos.


[SVN r13522]
2002-04-18 08:35:27 +00:00
Vladimir Prus
3ff33503ce Change of tests to accomodate new load behaviour and also fix previous
incorrect commit.


[SVN r13518]
2002-04-17 14:30:13 +00:00
Vladimir Prus
4e0da61c59 Added description of milestone 1 and some tests for it.
[SVN r13517]
2002-04-17 14:10:54 +00:00
Dave Abrahams
31eb4b7e09 Use new List niceties
[SVN r13497]
2002-04-15 18:05:58 +00:00
Dave Abrahams
2cce65e400 Added some niceties for List class
[SVN r13496]
2002-04-15 18:04:33 +00:00
Vladimir Prus
b03fa41185 Plugged the project test in the testing framework.
[SVN r13458]
2002-04-12 08:07:39 +00:00
Vladimir Prus
e451f261bc Added two example tests.
[SVN r13457]
2002-04-12 07:26:10 +00:00
Vladimir Prus
b70c44af0f Make the test system invoke jam binary located in the same working copy.
[SVN r13446]
2002-04-11 15:16:22 +00:00
Vladimir Prus
6484f68f2d Added a test for the 'project' module.
[SVN r13424]
2002-04-10 06:52:06 +00:00
Vladimir Prus
42a8bf643f Another attempt at replacing tabs with spaces.
[SVN r13409]
2002-04-09 07:48:35 +00:00
Vladimir Prus
21d6cd568e Added new test system sources. Updated docs.
[SVN r13401]
2002-04-08 15:13:36 +00:00
Dave Abrahams
8cfa7b44d9 perforce 2.4 merge (again)
[SVN r13391]
2002-04-07 00:22:45 +00:00
Vladimir Prus
789a1fdd62 Added test system docs.
[SVN r13359]
2002-04-03 11:10:10 +00:00
Dave Abrahams
1ac75b8de2 *** empty log message ***
[SVN r13288]
2002-03-27 22:45:04 +00:00
Dave Abrahams
8e383958ad New module scoping rules
[SVN r13287]
2002-03-27 22:23:30 +00:00
Vladimir Prus
d875b67380 Minor modifications.
* regex.jam (split): Change behavour with regard to separators at
	the beginning of string.
    * os.path.jam (has_parent, parent, join): Allow relative paths to
	point upward.
	(all_parents): new rule
	Added support for unix pathes.


[SVN r13279]
2002-03-26 08:56:05 +00:00
Dave Abrahams
423e65af29 Bug fix for Windows at least
[SVN r12983]
2002-02-28 15:22:17 +00:00
Dave Abrahams
e9b2c95e8a Build request expansion
[SVN r12778]
2002-02-10 00:49:29 +00:00
Dave Abrahams
6cb1bdc689 added tests for sequence, string, and numbers
[SVN r12301]
2002-01-13 17:50:10 +00:00
Dave Abrahams
2b1d5b3fbb fixes
[SVN r12146]
2001-12-24 19:27:39 +00:00
Dave Abrahams
fb61875273 no message
[SVN r12053]
2001-12-13 18:45:42 +00:00
Dave Abrahams
afc5de72ce ----------------------------------------------------------------------
committing in tools/build

Modified Files:
	build_system.htm
		Documented:
			local rules
			the RULENAMES rule
			the EXPORT rule
			the BACKTRACE rule
			new IMPORT semantics
			-d+12 Dependency Graph Output
			Crude Argument Binding
			Variable numbers of arguments

	jam_src/compile.c
		implemented RULENAMES, EXPORT, varargs support, new IMPORT semantics
		removed unused variables

	jam_src/make1.c
	jam_src/hdrmacro.c
		removed unused variables

	jam_src/jamgram.{c,h,y,yy}
		"module local x" does not change module local value of x
		if it is already set.

	jam_src/lists.[ch]
		added list_pop_front()

	new/assert.jam new/boost-build.jam
	new/build-system.jam new/errors.jam
	new/modules.jam new/os.path.jam
		beginnings of new build system

	test/check-arguments.jam
	test/check-jam-patches.jam
	test/echo_args.jam
		Added tests for recent core modifications; comments

Added Files:
	new/feature.jam new/property.jam
	new/readme.txt new/sequence.jam
	new/test.jam
		beginnings of new build system
----------------------------------------------------------------------


[SVN r11789]
2001-11-27 16:41:59 +00:00
Dave Abrahams
b326d85682 tests for local rules and backtraces
[SVN r11761]
2001-11-21 04:48:41 +00:00
Dave Abrahams
8966d74530 more IMPORT tests
[SVN r11689]
2001-11-14 19:57:52 +00:00
Vladimir Prus
fd6d532196 Build testing framework added.
[SVN r11638]
2001-11-09 09:07:53 +00:00
Dave Abrahams
0d6b779d27 ----------------------------------------------------------------------
Modified Files:
	allyourbase.jam build_system.htm new-split.jam
 Tag: jam_src
	jam_src/Jambase jam_src/compile.c jam_src/compile.h
	jam_src/headers.c jam_src/jam.c jam_src/jam.h
	jam_src/jambase.c jam_src/jamgram.c jam_src/jamgram.h
	jam_src/jamgram.y jam_src/jamgram.yy jam_src/jamgramtab.h
	jam_src/lists.c jam_src/lists.h jam_src/makedebugjam.bat
	jam_src/modules.c jam_src/modules.h jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
	jam_src/subst.c
 No tag
	test/check-jam-patches.jam
Added Files:
	boost-build.jam
----------------------------------------------------------------------

allyourbase.jam
  Fix the way new-split.jam is included, by using $(JAM_VERSION) to detect the
  presence of new language features.

build_system.htm
  Updated documentation to include core Jam extensions.

jam_src/Jambase
  Updated so that the built-in Jambase can be completely overridden based on
  JAMBASE, BOOST_ROOT, and BOOST_BUILD_PATH environment variables.

jam_src/compile.{c,h}
  Added IMPORT and CALLER_MODULE rules, header legend for profile dump. Moved
  regex_compile so it could be used by more functions.

jam_src/headers.c, jambase.c, jamgram.{c,y,yy}, search.c, subst.c
  Adjusted for the addition of FRAMEs, which was needed for CALLER_MODULE.

jam_src/jam.c
  added JAM_VERSION and started using FRAMEs.

jam_src/jam.h
  swapped the -d argument numbers that were used by profiling and parse debugging.

jam_src/lists.{c,h}
  Pulled stack frames out of LOL and put them where they belong, in the interpreter.

jam_src/modules.{c,h}
  Use strncat instead of strncpy to get predictable behavior.

jam_src/parse.{c,h}, rules.{c,h}
  Adjust for FRAMEs, and added a rulename field in the PARSE node to support
  profiling with modules.

test/check-jam-patches.jam
  Added tests for IMPORT and CALLER_MODULE


[SVN r11427]
2001-10-23 23:10:28 +00:00
Dave Abrahams
68de9b0878 ----------------------------------------------------------------------
Modified Files:
	Jambase allyourbase.jam
 Tag: jam_src
	jam_src/Jamfile jam_src/command.c jam_src/common.mk
	jam_src/compile.c jam_src/compile.h jam_src/hash.c
	jam_src/hash.h jam_src/jambase.c jam_src/jamgram.c
	jam_src/jamgram.h jam_src/jamgram.y jam_src/jamgram.yy
	jam_src/jamgramtab.h jam_src/lists.c jam_src/lists.h
	jam_src/make1.c jam_src/makedebugjam.bat jam_src/newstr.c
	jam_src/newstr.h jam_src/parse.c jam_src/parse.h
	jam_src/rules.c jam_src/rules.h jam_src/search.c
 No tag
	test/check-arguments.jam test/check-bindrule.jam
	test/check-jam-patches.jam test/recursive.jam
	test/test_nt_line_length.jam
Added Files:
 Tag: jam_src
	jam_src/modules.c jam_src/modules.h
Removed Files:
	Jamfile
----------------------------------------------------------------------

Jambase
   Removed obsolete check-arguments rule

allyourbase.jam
   Added different split rule definition for new Jam executable when
   NEW_BOOST_JAM is set.

Jamfile
    removed (this file was flotsam)

jam_src/Jamfile
    Added module.c; allowed yyacc to run under NT

jam_src/command.c
jam_src/make1.c
    added rule body/action reference-counting

jam_src/common.mk
    Added modules.c

jam_src/compile.c
    account for rule body/action reference-counting
    added "module { ... }, module local..." support
    cleaned up code for evaluate_rule

jam_src/compile.h
jam_src/parse.{c,h}
    Added module support

jam_src/hash.{c,h}
    Added a data parameter to hashenumerate() for flexibility

jam_src/jamgram.{yy,y,c,h}
jam_src/jamgramtab.h
jam_src/lists.{c,h}
    Added module support
    refactored grammar slightly

jam_src/makedebugjam.bat
    removed bogus invocation of yyacc
    cleaned up redundant variable settings

jam_src/modules.{c,h} - added

jam_src/rules.{c,h}
    added rule body/action reference-counting
    module support
    free list for SETTINGS

jam_src/search.c
    cleaned up a confusing name

test/check-arguments.jam
    added copyright notice
    made it stand on its own

test/check-bindrule.jam
test/recursive.jam
    use new argument-list feature

test/check-jam-patches.jam
    tests for:
      new SUBST behavior,
      "for local <var> in ...",
      while loops,
      negative indices/slices
      module rules and locals

test/test_nt_line_length.jam
    commenting and cleanup


[SVN r11411]
2001-10-20 13:01:16 +00:00
Dave Abrahams
e21603cd7f All of my pending changes
[SVN r11328]
2001-10-02 12:24:53 +00:00
Dave Abrahams
925d4c0418 beginnings of a test framework
[SVN r11083]
2001-09-10 02:53:41 +00:00
Dave Abrahams
9e00fb3e0b beginnings of a test framework
[SVN r11080]
2001-09-10 02:40:57 +00:00
Dave Abrahams
c21434b394 initial checkin
[SVN r10901]
2001-08-20 10:39:42 +00:00
Dave Abrahams
4968be2fd2 added assertion tests
[SVN r10900]
2001-08-20 10:39:19 +00:00
Dave Abrahams
fe147dfc5e Intermediate step in build system rewrite
Added Files:
 	Jambase ftjam-requests.txt test/Jamfile test/jam-fail.jam
 	test/unit-tests.jam


[SVN r10874]
2001-08-16 11:17:59 +00:00