summaryrefslogtreecommitdiffstats
path: root/extras/autowaf.py
AgeCommit message (Collapse)AuthorFilesLines
2020-04-19Allow specifying library name in set_lib_env()David Robillard1-2/+3
2020-04-02Only check for gcov when tests are enabledDavid Robillard1-1/+1
2019-11-10Print stderr of failed testsDavid Robillard1-1/+17
2019-11-10Clean up test outputDavid Robillard1-12/+15
2019-10-23Don't enable NDEBUG on MSVC release buildsDavid Robillard1-1/+0
2019-10-21Factor out release utilitiesDavid Robillard1-267/+0
2019-10-20Fix whitespaceDavid Robillard1-1/+0
2019-10-20Factor out conversion of news items to MarkdownDavid Robillard1-2/+4
2019-10-20Fix typoDavid Robillard1-1/+1
2019-10-20Fix wrapping of generated NEWS filesDavid Robillard1-1/+4
2019-10-20Properly handle time zone of releasesDavid Robillard1-7/+8
2019-10-20Use version as key for news entriesDavid Robillard1-7/+8
2019-10-18Support passing arguments to test wrappersDavid Robillard1-1/+2
This allows using prefixes like valgrind --leak-check=full.
2019-10-17Fix system argument for suppressing warnings from system packagesDavid Robillard1-2/+2
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