188 Commits

Author SHA1 Message Date
c9946da193 integration tests: only pass -f when a specific rsconsfile is specified 2017-05-23 15:55:28 -04:00
599d10b50f add integration test for overriding PROGSUFFIX 2017-05-23 15:32:55 -04:00
2ffdf82d9a add multi-threading build test 2017-05-23 14:24:14 -04:00
c7bba77581 remove Program builder non-integration specs 2017-05-22 16:57:35 -04:00
957fd8c86d convert Library builder specs to integration tests 2017-05-22 16:54:10 -04:00
7e707e7e3b convert Object builder specs to integration tests 2017-05-22 16:38:57 -04:00
7b3bffd329 update some non-integration-test specs 2017-05-22 16:25:49 -04:00
06cb4b7a55 migrate some Cache tests to integration tests 2017-05-22 15:55:18 -04:00
bfbbc19728 fix simplecov setup to get coverage for integration build tests 2017-05-22 11:19:55 -04:00
28e56251dd update build_tests_spec to invoke rscons in a subprocess for each test 2017-05-20 15:15:07 -04:00
6344692087 update Object builder to support parallelization; update Program and Library builders to register object builds from #setup 2017-05-19 10:49:16 -04:00
4ed584701a pass setup_info to the builder's #run method 2017-05-17 13:50:31 -04:00
9cc59a35f0 handle threaded commands in Environment#process 2017-05-17 10:07:15 -04:00
ef4f9882cd change Builder#run base class method to new signature 2017-05-12 21:08:14 -04:00
dab870854a add Rscons.n_threads 2017-05-12 14:38:18 -04:00
551b8fa365 add integration test to verify cache is written if a builder fails 2017-02-16 19:27:18 -05:00
3601359c08 process jobs from the JobSet 2017-02-16 19:27:18 -05:00
c4c2d5c128 Environment#parse_flags should put -std=XXX flags in CCFLAGS, not CFLAGS 2016-09-30 14:02:30 -04:00
0442b876a5 allow phony targets in conjunction with a build root 2016-01-12 10:14:10 -05:00
3b8910075a use class instance variables instead of class variables 2015-02-15 18:38:09 -05:00
7a04bec2ff support phony targets - close #25 2015-02-15 18:29:33 -05:00
4eedea2563 add Copy builder as a copy of Install 2015-02-07 09:57:44 -05:00
f678803a5d add Install builder - close #6 2015-02-07 09:49:29 -05:00
859f87ddee add a Directory builder - close #27 2015-01-29 09:31:00 -05:00
73bc71a656 test expanding paths after a build target is registered from within a build hook 2015-01-28 17:15:55 -05:00
29a8684f90 support registering multiple build targets with the same path - close #26 2015-01-28 17:10:36 -05:00
02aff35222 allow overriding Command builder short description with CMD_DESC variable -- close #22 2015-01-24 09:40:07 -05:00
76610a07a9 fix variable references that expand to arrays in build target sources - fix #20 2015-01-20 21:26:45 -05:00
0ea842fffe rework Preprocess builder to consider deep dependencies - fix #21 2015-01-20 21:16:21 -05:00
d28722a4bb fix Rscons.set_suffix to append the given suffix if the filename has none 2015-01-20 21:13:27 -05:00
99ba015630 fix Environment#dump when construction variables are Symbols 2014-10-22 14:30:14 -04:00
d9e3129ad5 add Environment#dump 2014-10-22 10:30:57 -04:00
b05eed36eb add VarSet#to_h 2014-10-21 16:06:15 -04:00
7ea0721cc2 add a Builder#run method which raises an error unless overridden 2014-10-16 16:52:26 -04:00
Michael D. Lowis
92d4dd8396 Implemented SimpleBuilder and updated Environment#add_builder method to support it 2014-10-16 16:37:37 -04:00
Michael D. Lowis
e279959d79 Added a command builder to the list of default builders 2014-10-13 12:27:05 -04:00
a0874e7cf1 add tests for *SUFFIX variables containing Arrays - close #9 2014-09-25 11:12:11 -04:00
20f3da3b04 allow trailing slashes to be passed to env.build_dir() 2014-09-25 10:45:52 -04:00
a6a79b8ef1 test cloning post-build hooks 2014-09-23 12:44:02 -04:00
453295a49b add post-build hooks - close #14 2014-09-19 12:36:57 -04:00
dee2b98f6e allow build hooks to register new build targets - close #15 2014-09-19 11:10:59 -04:00
b186b3102c clear build targets after processing an Environment - close #17 2014-09-19 10:45:49 -04:00
df1e3be829 fix #12 - allow overriding dependency file suffix with DEPFILESUFFIX construction variable 2014-08-18 15:53:02 -04:00
851adae66f fix #13 - Environment#depends should expand its arguments for construction variables 2014-08-18 15:39:33 -04:00
28bedfce11 Support lambdas as construction variable values 2014-06-18 10:43:35 -04:00
d9eea10363 update D build test for Linux 2014-06-12 16:00:41 -04:00
5045e2e336 fix build test for Linux 2014-06-12 15:59:49 -04:00
31968e7e32 complete spec updates for RSpec 3 using only :expect syntax 2014-06-12 15:52:15 -04:00
5783ed993a update more rspec expectations 2014-06-12 15:43:50 -04:00
0778f043ee update many specs to RSpec 3 format 2014-06-12 15:39:20 -04:00