summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | run black on new test file to quiet sider complaintsWilliam Deegan2021-11-051-21/+21
| | |
* | | allow exit status of 1 or 2 on windows when running ninjaWilliam Deegan2021-11-051-1/+6
| | |
* | | Fix ninja_handle_control_c_rebuild for windows. The stderr on windows ↵William Deegan2021-11-041-2/+5
| | | | | | | | | | | | doesn't match other platforms, but it should be sufficient to verify that build.ninja file still exists
* | | Fix incorrect call to must_exist. There's no message argument if it failsWilliam Deegan2021-11-041-3/+2
| | |
* | | Merge branch 'master' into regenerate-build.ninjaWilliam Deegan2021-11-0448-358/+635
|\ \ \ | |/ /
| * | Merge pull request #4046 from mwichmann/java-testsWilliam Deegan2021-11-0134-329/+412
| |\ \ | | |/ | |/| Skip unusable javah tests
| | * fixed tests to test --no-ignore-skips, and updated their copyright textWilliam Deegan2021-11-012-6/+17
| | |
| | * Also make Repository/JavaH test skip if mismatched javahMats Wichmann2021-11-011-1/+9
| | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | * Add an extra check for javahMats Wichmann2021-11-013-31/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous sanity check was to see if the less-optimistic WhereIs could find javah, and skip if not, since java_where_javah looks many more places than SCons will actually look. This was insufficient - some openjdk packages don't clean up the alternatives link to javah even if a java version which doesn't have it becomes the selected version. Add a check on found paths to detect a mismatch. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * Skip unusable javah testsMats Wichmann2021-10-315-145/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the three tests which fail, skip if the command finder (WhereIs), which is much less aggressive than the java_where_j* routines, doesn't find javah. Split the JAVAH test file into two files, so that the part which doesn't call javah can run even if the rest is skipped. Did the header cleanup and partial reformats on those. Leave a comment in the Repository/JavaH test, and do some reformatting there as well. Test needs rework, but for now doesn't fail so leave alone. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * Java tests: minor cleanupsMats Wichmann2021-10-3130-156/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update file headers Remove references to javah that are not used Black a couple of SConstcuts No functional changes - prep work for javah workarounds. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | Merge pull request #4044 from omar-polo/fix-shared-library-test-openbsdWilliam Deegan2021-10-291-13/+0
| |\ \ | | | | | | | | drop unnecessary soname check on OpenBSD
| | * | drop unnecessary soname check on OpenBSDOmar Polo2021-10-291-13/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | The changelog for the 4.1 release says that - No longer automatically disable setting SONAME on shared libraries on OpenBSD. this bit was left out.
| * | Merge pull request #4045 from omar-polo/fix-execute-a-directory-testWilliam Deegan2021-10-292-2/+2
| |\ \ | | | | | | | | fix test some test expected stderr regexp
| | * | fix test regexpOmar Polo2021-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | On OpenBSD the output is sh: <filename>: cannot execute - Permission denied
| | * | fix test regexpOmar Polo2021-10-291-1/+1
| | |/ | | | | | | | | | | | | | | | On OpenBSD the output is sh: <filename>: cannot execute - Is a directory
| * | skip test on non-linux platformsOmar Polo2021-10-291-3/+2
| |/ | | | | | | | | | | leaky-handles requires a /proc/ partition which isn't present on most posix-y platforms: OpenBSD and darwin lacks a procfs, while on FreeBSD must be explicitly mounted by the user (is disabled by default.)
| * Make subst call a callable with sig set properlyMats Wichmann2021-10-235-8/+80
| | | | | | | | | | | | | | | | | | | | If the substable element is a callable, only set for_signature true if the mode is SUBST_SIG. Previously it was set even if the mode was SUBST_RAW. Fixes #4037 Signed-off-by: Mats Wichmann <mats@linux.com>
| * Merge branch 'master' into jbrill-msvs-2022William Deegan2021-10-165-0/+313
| |\
| * | Fix variable name (msvs_143 to msvc_143) and minor updates based on slider ↵Joseph Brill2021-10-052-3/+3
| | | | | | | | | | | | output.
| * | Merge branch 'master' into jbrill-msvs-2022Joseph Brill2021-10-0525-85/+267
| |\ \ | | | | | | | | | | | | Manually resolve conflict in CHANGES.txt
| * | | Add support for Visual Studio 2022Joseph Brill2021-09-232-3/+136
| | | |
| * | | import os module due to NameError exception due to 'os' is not defined.Joseph Brill2021-09-233-0/+3
| | | |
* | | | add test to verify that control-c'ing ninja while it's calling SCons to ↵William Deegan2021-11-042-0/+94
| |_|/ |/| | | | | | | | rebuild build.ninja preserves the file
* | | Merge pull request #3994 from dmoody256/ninja_fix_escapingWilliam Deegan2021-10-102-0/+94
|\ \ \ | | | | | | | | update ninja tool to support $ in scons command line args
| * | | update ninja tool to support $ in scons command line argsDaniel Moody2021-09-262-0/+94
| | | | | | | | | | | | | | | | from https://github.com/mongodb/mongo/commit/dee0f733cdb3cab7714326574efc8a1ae4ec750f
* | | | Merge branch 'master' into ninja_fix_mkdirWilliam Deegan2021-10-068-8/+185
|\ \ \ \
| * | | | [ci skip] Fix sider complainWilliam Deegan2021-10-061-1/+0
| | | | |
| * | | | Updated ninja tool to allow for NINJA_FORCE_SCONS_BUILD to be usedDaniel Moody2021-10-052-0/+97
| | |_|/ | |/| |
| * | | Change SCons.Scanner.Base to ScannerBaseMats Wichmann2021-10-042-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maintenance: SCons has multiple classes named Base, which is a bit unfortunate. Some already use a context-qualified name, like BuilderBase, which seems preferable. Do that for ScannerBase, but leave the name Base in the SCons.Scanner package in case *external* users are depending on SCons.Scanner.Base working. SCons internally no longer uses that name. Signed-off-by: Mats Wichmann <mats@linux.com>
| * | | Merge pull request #4013 from mwichmann/gcc-non-utfWilliam Deegan2021-10-034-0/+85
| |\ \ \ | | |/ / | |/| | Do not convert throwaway input from gcc tool.
| | * | Add a testcase for gcc -version returning non-utf8Mats Wichmann2021-10-034-0/+85
| | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | Merge branch 'master' into ninja_fix_mkdirWilliam Deegan2021-09-2621-83/+188
|\ \ \ \ | |/ / /
| * | | Merge branch 'master' into pch_support_substWilliam Deegan2021-09-252-6/+10
| |\ \ \ | | | |/ | | |/|
| | * | Fix Issue #4021 - Textfile wrongly replacing '$$(' with '$' 'William Deegan2021-09-192-6/+10
| | | |
| * | | reorg code a bit so MSCommon has some of the logic. Also changed ↵William Deegan2021-09-253-20/+39
| | | | | | | | | | | | | | | | MSVC/hierarchical.py to use File('StdAfx.pch') Best to start recommending File() or Node from env.PCH() as value for PCH.
| * | | fix remaining PCH tests.William Deegan2021-09-182-3/+2
| | | |
| * | | add test to verify that a generator specified for PCH with returns a false ↵William Deegan2021-09-182-10/+32
| | | | | | | | | | | | | | | | value will disable PCH being added to compile and link lines
| * | | Address most sider complaintsWilliam Deegan2021-09-185-5/+9
| | | |
| * | | update pch_gen test to use non-default names and verify existance of ↵William Deegan2021-09-182-2/+9
| | | | | | | | | | | | | | | | expected files
| * | | remove propagating os.environ INCLUDE and LIB from tests. Add comments to ↵William Deegan2021-09-183-8/+8
| | | | | | | | | | | | | | | | explain how the dir/file fixture in pch_gen's logic is working
| * | | add logic to ensure PCH is subst() evaluated when it should beWilliam Deegan2021-09-1812-64/+114
| |/ /
* | | fix test to ensure no callbacks for mkdir actionsDaniel Moody2021-09-081-2/+4
| | |
* | | Expanded ninja Mkdir to also support Mkdir actions.Daniel Moody2021-09-081-0/+121
|/ /
* | addressed comments for #4014Daniel Moody2021-09-081-1/+1
| |
* | fix ninja tool to never user for_sig substitution.Daniel Moody2021-09-072-0/+104
|/
* tests: use framework for platform-specific definesMats Wichmann2021-08-2416-221/+110
| | | | | | | | Tweaked some tests which directly set values for _exe, _obj, which are available from the framework. Done for consistency, none of these were doing these wrong. Signed-off-by: Mats Wichmann <mats@linux.com>
* Merge pull request #4001 from mwichmann/test-tweaksWilliam Deegan2021-08-211-0/+5
|\ | | | | Two small test tweaks
| * Two small test tweaksMats Wichmann2021-08-211-0/+5
| | | | | | | | | | | | | | | | | | Modernize the C in test/Libs/LIBS.py to avoid clang errors (gcc and MSVC only warn here). Change where test list is sorted in SCons/cppTests.py. Signed-off-by: Mats Wichmann <mats@linux.com>
* | fix firewall pop up with Parallel/failed-build testDaniel Moody2021-08-171-3/+3
|/