Daniel Mensinger
5d2f14fce7
rewriter: Quiet logging by default
6 years ago
Daniel Mensinger
dd5791309e
rewriter: Document info operation
6 years ago
Daniel Mensinger
06695fec60
rewriter: type definition code fix
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
ff5e7eb104
rewriter: Updated docs
6 years ago
Daniel Mensinger
b55dbf0fae
rewriter: Dump JSON to stderr instead of stdout
6 years ago
Daniel Mensinger
90b557e38a
rewriter: Remove command alias
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago
Daniel Mensinger
c98987c19e
rewriter: Fixed docs.
6 years ago
Daniel Mensinger
eabc35340d
rewriter: Enforce an empty project ID string
6 years ago
Daniel Mensinger
8fad06e8c8
rewriter: Removed python 3.7 feature required=False
6 years ago
Daniel Mensinger
9874ce81f0
rewriter: make flake8 happy
6 years ago
Daniel Mensinger
d4fe805a51
rewriter: Added docs
6 years ago
Daniel Mensinger
c4708c28f2
better formating of the help output
6 years ago
Daniel Mensinger
740f6b8f06
rewriter: Implemented a CLI
6 years ago
Daniel Mensinger
e72f535fc8
rewriter: Removed debug printing
6 years ago
Daniel Mensinger
0fd4dce906
rewriter: Type annotation cleanup
6 years ago
Daniel Mensinger
2582f311b0
rewriter: Make sure target sources are relative
6 years ago
Daniel Mensinger
760d1bff9c
rewriter: Sort source files ( #5010 )
...
* rewriter: Sort source files
* rewriter: Natural sorting
* rewriter: Fix flake8
* rewriter: Fixed sorting
* rewriter: Make sorting key more readable
* rewriter: Even simpler key
6 years ago
Jussi Pakkanen
81f0eef2df
Add table for dependency method types. [skip ci]
6 years ago
Jussi Pakkanen
65487f1599
Install header\'s subdir must not be absolute.
6 years ago
Jussi Pakkanen
0de4f199b3
Merge pull request #4949 from mensinda/introTargetNoBD
...
mintro: Introspect targets and deps without a build directory
6 years ago
Daniel Mensinger
586ec5a28c
intro: Fixed code after rebase
6 years ago
Daniel Mensinger
7074f12644
mintro: Renamed --dependencies --> --scan-dependencies
6 years ago
Daniel Mensinger
185dc8c2e5
mintro: Fix unit test
6 years ago
Daniel Mensinger
f9da03fb7b
mintro: Address code review
6 years ago
Daniel Mensinger
f29f854861
Added docs
6 years ago
Daniel Mensinger
9e659b3130
Added test cases
6 years ago
Daniel Mensinger
f9b41d5ecb
mintro: Dependencies from source
6 years ago
Daniel Mensinger
8a1411a1e8
Target introspection from source
6 years ago
Daniel Mensinger
98e60f59ac
Minor introspection refactoring
6 years ago
Daniel Mensinger
7f9fb6a084
rewriter: Minor code cleanup
6 years ago
Daniel Mensinger
bd5d54513c
rewriter: Handle Arithmetic node
6 years ago
Jussi Pakkanen
1997ac2478
Merge pull request #4958 from bonzini/tap
...
Add initial TAP test support
6 years ago
Daniel Mensinger
5a22bb7901
rewriter: Use mparser to detect the end of some nodes
6 years ago
Daniel Mensinger
7199cd2095
rewriter: Avoid duplicates
6 years ago
Dylan Baker
841da29d2c
Fix ternary in thing ( #5007 )
...
* tests: extend ternary test to cover bugs
See issues #5003 , #3690 , and #2404
* mparser: store subdir in ternary node
Ternaries don't really need subdirs, but they can be passed into
functions that expect the type they're provided to have a
subdir. Provide it to fulful the interface.
Fixes #5003
Fixes #3690
Fixes #2404
6 years ago
Steve Lhomme
cb9b151985
Move the optimization options in the compiler config
...
They have no effect in the "Configuration" PropertyGroup at least in VS2017
6 years ago
Paolo Bonzini
91f847d308
mtest: implement TAP parsing
...
This provides an initial support for parsing TAP output. It detects failures
and skipped tests without relying on exit code, as well as early termination
of the test due to an error or a crash.
For now, subtests are not recorded in the TestRun object. However, because the
TAP output goes on stdout, it is printed by --print-errorlogs when a test does
not behave as expected. Handling subtests as TestRuns, and serializing them
to JSON, can be added later.
The parser was written specifically for Meson, and comes with its own
test suite.
Fixes #2923 .
6 years ago
Paolo Bonzini
f2e513791e
mtest: add support for hard errors
...
Hard errors also come from the GNU Automake test protocol. They happen when
e.g., the set-up of a test case scenario fails, or when some
other unexpected or highly undesirable condition is encountered.
TAP will use them for parse errors too. Add them to the exitcode protocol
first.
6 years ago
Paolo Bonzini
d830945224
mtest: do not use return code to look for failed tests
...
--print-errorlogs is using the test's return code to look for failed
tests, instead of just looking at the TestResult. Simplify the code and
make it work for TAP too.
6 years ago
Paolo Bonzini
1264f03637
mtest: refactor TestRun creation
...
Parse the error code outside SingleTestRunner's run() method. This
will let us add TAP support without complicating that long method
further.
6 years ago
Paolo Bonzini
4b5cf3f7c5
interpreter: add "protocol" kwarg to test
...
This is the first step towards adding support for TAP.
6 years ago
Daniel Schulte
f0b0bcf86d
mintro: Add subproject_dir to --projectinfo
6 years ago
Daniel Schulte
924cf5e622
mintro: Add name of subproject the target is contained in to --target output
6 years ago
Nicolas Schneider
ded0defc3f
auto generate msvc pch source file if none is provided by the user
6 years ago
Daniel Mensinger
fcd608c131
azure: Fix python3 in vs2017 tasks
6 years ago
Jussi Pakkanen
a322dc534b
Revert "Improve declare_dependency() example in Generating-sources.md [skip ci]"
...
This reverts commit 67a01c8d7f
.
6 years ago
Michael Hirsch, Ph.D
71cffa67fa
add NetCDF
6 years ago
John M. Lindemon
939c00a972
Fix nvcc error with threads dependency (4999)
6 years ago