Commit Graph

52 Commits

Author SHA1 Message Date
Thomas Nagy 1af97c71f5 Sort visual studio versions by version number #2352 2022-05-22 11:25:33 +02:00
Alibek Omarov a9173e98be msvc: fix version detection when new and old compilers are installed 2022-05-17 15:59:34 +03:00
Thomas Nagy 3e605feb72
Ensure that 'waf test' raises a meaningful error message in the installation test 2019-06-02 09:25:16 +02:00
Thomas Nagy 8cbc8da5ce
Undo parentheses escaping in ant_glob 2019-05-10 23:13:01 +02:00
Michael Vincent e874342103 Node: escape parentheses in ant_glob()
ant_matcher() converts an ANT glob pattern to an equivalent regex
pattern. This commit adds support for escaping parenthesis in the
input pattern so they don't end up being treated as a regex capture
group.

Also add a unit test to verify ant_glob()'s ability to handle special
characters in the input pattern.
2019-05-08 17:22:00 -05:00
Thomas Nagy fab68b4b8c
Remove the exception raised by tests/install/wscript 2018-09-27 19:25:36 +02:00
Thomas Nagy d63e32633d
Add tests for #2184 2018-09-25 18:05:10 +02:00
Thomas Nagy d21446ff71
Update docs for 2018 2018-01-01 20:53:49 +01:00
Calle Rosenquist 69e45d1a71 Node.ant_glob: Do not ignore case by default, as specified by the documentation. 2017-09-19 22:46:16 +02:00
Thomas Nagy 0279838cfd
Simplify tests/init execution 2017-09-16 14:02:09 +02:00
Thomas Nagy a61742affb
Add tests for #2026 2017-09-12 20:11:36 +02:00
Thomas Nagy 8b49da2fa7
Add more folder initialization tests 2017-09-10 19:14:40 +02:00
Thomas Nagy 5aafea1bd3
Test suite for top/out settings 2017-09-09 17:45:59 +02:00
Thomas Nagy 5c15f6f39e
Prevent duplicates in c_preproc.py results 2017-08-26 12:24:22 +02:00
Thomas Nagy 5d4074eb7f
Display commands as string with "WAF_CMD_FORMAT=string waf build -v" 2017-03-04 08:20:27 +01:00
Thomas Nagy e352fb05c0
UNC path fixes 2017-03-02 20:45:45 +01:00
Thomas Nagy b7d93c3c4d
Update the year in headers to 2017 2017-02-11 16:13:37 +01:00
Thomas Nagy fa145ed653
Find the order that follows the alphabet 2017-01-05 03:44:36 +01:00
Thomas Nagy 2d6487883c Fix chmod with tuple rules #1884 2016-12-22 15:21:26 +01:00
Thomas Nagy 900d6b891c Optimize Node.path_from 2016-12-21 22:28:42 +01:00
Thomas Nagy 90993f1153
Remove c_preproc.trimquotes 2016-12-03 06:47:37 +01:00
Thomas Nagy 1318c5f2d6
Cleanup for #1865 2016-11-26 11:54:27 +01:00
Thomas Nagy d5628f1ee6
Enable chosen groups in the install_group test 2016-10-08 23:30:35 +02:00
Thomas Nagy f02047b8ea
Add install_user and install_group to bld.install/bld.install_as/bld.symlink_as 2016-10-08 22:35:05 +02:00
Thomas Nagy d3a3b23b13
Add a build function to the 'install' tests for consistency 2016-05-21 12:13:19 +02:00
Thomas Nagy a079b50df1
Add more installation tests 2016-05-21 00:40:49 +02:00
Thomas Nagy a8ef298191
More tests 2016-05-07 00:09:20 +02:00
Thomas Nagy d767afa32c
docs 2016-04-28 00:37:29 +02:00
Thomas Nagy dd81cb74dc
Pass the vala environment for installation (not modified so it should be fine) 2016-04-28 00:29:12 +02:00
Thomas Nagy 1eaa87413d
Refactor bld.install_as/bld.install_files/bld.symlink_as to use actual task objects 2016-04-28 00:23:54 +02:00
Thomas Nagy 9133dbc5c9
Cleanup: no need for keys() everywhere 2016-04-22 21:10:22 +02:00
Thomas Nagy 102a345eb0
One more configuration test 2016-04-06 21:58:09 +02:00
Thomas Nagy 06cb261cd2
More config tests 2016-04-03 13:41:24 +02:00
Thomas Nagy 61d1bd74ee
More config tests 2016-04-03 13:30:03 +02:00
Thomas Nagy 89d5b5462f
Enable define_name in conf.check(modversion=,define_name=) 2016-04-03 12:09:22 +02:00
Thomas Nagy c0c0da2e92
Set DEFINES=[X=1] with conf.check_cfg(define_name=X) to override the defaults 2016-04-03 11:42:59 +02:00
Thomas Nagy c81e7548f1
A few more tests 2016-03-28 22:40:15 +02:00
Thomas Nagy 6579592065
re_cpp matches are never empty 2016-03-27 19:25:12 +02:00
Thomas Nagy 3cac9c7077
Node objects can be folders too, but dependencies must be managed manually 2016-03-07 21:12:51 +01:00
Thomas Nagy 589a99fca3
Exit status must be non-zero when tests fail 2016-02-19 22:29:01 +01:00
Thomas Nagy f73d3f1a2f Misleading attribute never_skip, replaced by always_run 2015-12-25 17:54:10 +01:00
Caitlin Potter 9d763fc74f [macplist]: interpolate file
Rather than using an inline interpolated heredoc string, or generating
the file in a pre-build step, allow the macplist task itself to
perform string interpolation on the contents of a plist file.
2015-06-14 15:53:46 -04:00
Thomas Nagy e048bed13d
More tests for the Waf preprocessor 2014-11-02 00:16:48 +01:00
Thomas Nagy 27f0fc9450
Issue 1454 2014-05-21 17:21:29 +02:00
Thomas Nagy 6566072086
missing file
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-05-21 17:05:48 +02:00
Thomas Nagy 346601b103 handle empty defines when pasting tokens 2013-11-15 23:24:51 +01:00
Thomas Nagy 6d570f08bd use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Thomas Nagy 4680cd544a typo 2012-03-10 11:30:25 +01:00
Thomas Nagy 9cb33c9c79 testcase for Issue 1122 2012-03-10 11:14:16 +01:00
Thomas Nagy 5d7c1d623f finished porting the test from waf 1.5 2012-03-10 09:18:21 +01:00