summaryrefslogtreecommitdiffstats
path: root/extras/autowaf.py
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Add conf.check_pkg and conf.check_function methodsDavid Robillard1-0/+6
2019-10-17Remove autowaf.defineDavid Robillard1-6/+4
This function was misleading and encouraged confusing the waf environment from source code definitions.
2019-10-17Remove pkg-config cache mechanism and support simple package specsDavid Robillard1-40/+32
This allows shorter syntax like autowaf.check_pkg(conf, 'foo-2.0 >= 2.3.4').
2019-10-14Add error configuration optionDavid Robillard1-0/+8
2019-06-06Fix get_news() to work with Python 3David Robillard1-2/+2
2019-04-21Fix conf.build_path() to work with paths that do not exist yetDavid Robillard1-1/+1
2019-04-21Disable noisy parenthesis warningsDavid Robillard1-0/+1
2019-04-21Remove recursion hacksDavid Robillard1-24/+2
This removes the kludgey recursive project mechanism, which did not work correctly for deeply nested subprojects. Instead, projects need to correctly build paths relative to the paths given by their contexts.
2019-04-21Remove use_lib()David Robillard1-25/+17
Instead of requiring wscripts to use a special function, this fixes set_lib_env() to set up the environment correctly so that libraries can be used in the same way as system-installed libraries.
2019-04-15Support building against local header-only librariesDavid Robillard1-3/+5
2019-04-14Add option to filter tests by regular expressionDavid Robillard1-3/+20
2019-04-14Fix configuring with root prefixDavid Robillard1-1/+1
2019-04-14Print test coverage summaryDavid Robillard1-1/+14
2019-04-14Don't attempt to clear coverage when coverage is disabledDavid Robillard1-1/+1
2019-03-18Pass file comparison test if difflib finds no changesDavid Robillard1-3/+5
The Python filecmp module seems to be a bit flaky on some platforms, so with this change the test only fails if actual visible changes are printed.
2019-03-18Seek to end before checking the size of stderr outputDavid Robillard1-1/+2
This fixes the error message checks in virtual environments where temporary files act weird.
2019-03-17Add command for running executables from the build directoryDavid Robillard1-0/+24
2019-03-17Make make_simple_dox() safe in case of exceptionDavid Robillard1-1/+2
2019-03-17Avoid use of global counter hacks for configuration displayDavid Robillard1-8/+3
2019-03-17Rewrite test frameworkDavid Robillard1-205/+290
2019-03-17Automatically add options and move add_flags() to options contextDavid Robillard1-20/+15
2019-03-17Reduce system include path noiseDavid Robillard1-8/+9
2019-03-17Automatically display configuration headerDavid Robillard1-0/+4
2019-03-17Set line justification from a constant in the wscriptDavid Robillard1-8/+4
This fixes justification of early checks that happen before configure recursion.
2019-03-17Automatically detect if wscript has a test hookDavid Robillard1-2/+2
2019-03-17Save runtime variables in the environmentDavid Robillard1-1/+7
2019-03-17Clean up TestContextDavid Robillard1-6/+4
2019-03-17Add ExecutionContext for setting runtime environmentDavid Robillard1-0/+24
2019-03-17Add show_diff() and test_file_equals() utilitiesDavid Robillard1-0/+28
2019-03-17Fix in-tree library pathsDavid Robillard1-1/+2
2019-03-17Add custom configuration contextDavid Robillard1-1/+11
2019-03-17Add lib_path_name constantDavid Robillard1-0/+7
2019-01-12Report test time correctlyDavid Robillard1-4/+10
2019-01-12Remove redundant verbose-tests optionDavid Robillard1-4/+1
2019-01-12Fix MSVC CFLAGSDavid Robillard1-7/+28
2018-11-24Improve test output spacingDavid Robillard1-4/+7
2018-11-24Raise exception when test suite fails to ensure non-zero exit statusDavid Robillard1-0/+1
2018-11-24Show run time of unit testsDavid Robillard1-6/+11
2018-11-24Add short configure option for ultra-strict flagsDavid Robillard1-1/+1
2018-10-28Use gtest-like test outputDavid Robillard1-21/+21
2018-10-28Fix failure count in test group summariesDavid Robillard1-0/+1
2018-10-14Fix verbose tests with Python 3David Robillard1-2/+2
2018-09-16Add support for suppressing warnings from system librariesDavid Robillard1-0/+10
2018-09-16Add short forms for common optionsDavid Robillard1-4/+4
2018-09-16Automatically define version for child librariesDavid Robillard1-0/+2
2018-09-15Fix version definition for projects with special charactersDavid Robillard1-1/+2
2018-09-15Remove blank line padding around configuration summaryDavid Robillard1-3/+0
2018-09-15Clean up autowaf.pyDavid Robillard1-97/+149
2018-09-15Remove autowaf.py header in line with the other waf extrasDavid Robillard1-8/+0
This removes an old GPL license statement, which was simply an oversight. This file has the same license as the rest of waf (3-clause BSD). I am the original author of all of the code in this file.
2018-09-15Beautify configuration summary outputDavid Robillard1-2/+2