aboutsummaryrefslogtreecommitdiffstats
path: root/runtest.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix build and test using bionic as a libcDan Willemsen2017-09-291-0/+2
| | | | | | There's a flag to Soong in order to use bionic as a libc instead of glibc, removing dependencies on your host system. This fixes a single include what you use, and some error message differences.
* Add --color_warnings to make warnings/errors like clangDan Willemsen2017-02-221-1/+1
| | | | | | | | | | This adds new (WARN|KATI_WARN|ERROR)_LOC log macro variants that take a location as the first argument, and will prefix that location information to the warning/error lines. When --color_warnings is enabled, it reformats them to have a standard warning:/error: infix, and adds colors in order to match the warnings/errors produced by clang.
* Normalize log for recent ninjaShinichiro Hamaji2016-05-091-3/+6
| | | | for issue #68
* Normalize Unicode quotes for recent findShinichiro Hamaji2016-04-281-3/+12
|
* Explicitly use SHELL=/bin/bashShinichiro Hamaji2016-04-281-1/+7
| | | | Also use override in tests which set $(SHELL)
* Clean up normalization in runtest.rb a bitShinichiro Hamaji2016-04-271-5/+3
|
* Normalize GNU make 4.00 in runtest.rbStefan Becker2016-04-271-0/+1
| | | | | | | | | | | | | | Old GNU make: Makefile:2: *** missing rule before commands. GNU make 4.0: Makefile:2: *** missing rule before recipe. Fixes https://github.com/google/kati/issues/63 Change-Id: I1774b564369e65121986618e5ef2ef05cd4da5dd
* Suppress GNU make jobserver magic in runtest.rbStefan Becker2016-04-271-0/+4
| | | | | | Fixes https://github.com/google/kati/issues/60 Change-Id: I2f539f5c41f96a302a73f8cc5c44332b4f4cd7d3
* Add testcase/posix_var.mkShinichiro Hamaji2016-04-271-0/+3
| | | | For 187bf08e7fc847da6dc8482383fa5c8364f0ac50
* Use subshell even when a command starts with '('Shinichiro Hamaji2016-03-151-0/+4
|
* [C++] Report no-need-to-regen message to stderrShinichiro Hamaji2016-02-091-1/+0
| | | | For consistency with regen.cc
* [C++] separate ninja shell script into twoColin Cross2015-11-091-0/+1
| | | | | | | | Separate the environment variables out of the ninja shell script so that the caller can source the environment script and then manually call ninja. Change-Id: If977a8316dceae955d71c32d528232d8b3f3aeef
* Exit 1 in runtest.rbShinichiro Hamaji2015-10-051-0/+1
|
* Revert "Always use SHELL=/bin/bash in our test"Shinichiro Hamaji2015-10-051-3/+0
| | | | This reverts commit a73e93be50fbfc87ddf3e3171d0980606283ea03.
* Always use SHELL=/bin/bash in our testShinichiro Hamaji2015-10-051-0/+3
|
* [C++] Fix err_include.mk for -c -nShinichiro Hamaji2015-10-051-5/+5
|
* [C++] Fix err_include.mkShinichiro Hamaji2015-10-051-3/+6
|
* [C++] Fix target specific variables with --gen_all_targetsShinichiro Hamaji2015-10-031-1/+4
| | | | | | | --gen_all_targets started traversing the dependency graph from random node. This may prevent target specific variables in parents from being applied. With this patch, we always traverse the graph from nodes without parents.
* [C++] Test --gen_all_targets on travisShinichiro Hamaji2015-10-031-1/+15
|
* Fix ninja tests if NINJA_STATUS is setColin Cross2015-10-021-1/+2
| | | | | | | | | If NINJA_STATUS is set in the environment when running runtest.rb -c -n the regexp to match ninja status lines may not match, causing all the tests to fail. Set NINJA_STATUS to a known value that is easy to match for. Change-Id: Ice892341a252ca305f770d5c92d9716ee857156b
* A typo fix in runtest.rbShinichiro Hamaji2015-09-111-1/+1
|
* Add -v flag to runtest.rbShinichiro Hamaji2015-09-101-1/+6
|
* [C++] Fix submake_basic.mk for non-ninja modeShinichiro Hamaji2015-09-091-1/+6
|
* Make it possible to write tests for submakeShinichiro Hamaji2015-09-091-0/+2
|
* [go] fix func_backslash.mk and err_invalid_ifeq5.mkFumitoshi Ukai2015-09-041-3/+0
| | | | | | | emit "Nothing to be done for '<target>'" in these test. don't remove "Nothing to be done for 'test' for err_invalid_ifreq3.mk and mark it as TODO(c)
* [C++] Fix ninja EmitNode early exitDan Willemsen2015-08-311-3/+10
| | | | Change-Id: I2b574a71472508515e9d06e55ff2c2e1a5292c2b
* [C++] Fix testcase/nothing_to_do.mkDan Willemsen2015-08-251-4/+6
| | | | Change-Id: Ic370c2e2442efc5eb0cde9294e0f18084bdabeca
* Remove hardcoded skip in runtest.rbDan Willemsen2015-08-251-5/+0
| | | | | | The eval_assign test passes with ckati. Change-Id: I07bb546cbaa777debf9d8b1a82484dd14ae523ed
* [go] fix find_command.mk - "cd xxx && find ."Fumitoshi Ukai2015-08-111-0/+1
|
* [C++] Allow an expected message from ninja_regen.shShinichiro Hamaji2015-08-111-0/+1
|
* [C++] Reduce unnecessary shell invocationsShinichiro Hamaji2015-08-111-0/+2
| | | | | When FindEmulator is sure the target directory does not exist, we do not need to run the shell command.
* [C++] Warn potential parse errorsShinichiro Hamaji2015-08-051-0/+1
|
* [go] implement find emulatorFumitoshi Ukai2015-07-311-1/+1
|
* [C++] Fix ninja_regen.sh for --regenShinichiro Hamaji2015-07-311-1/+1
|
* [C++] Add a test for ninja re-generationShinichiro Hamaji2015-07-301-1/+26
|
* [go] fix find_command.mk testFumitoshi Ukai2015-07-291-0/+2
| | | | | | not yet implemented builtin find, but it was failing just because it detected kati log files and json files. runtest.rb ignores these files.
* fix err_no_rule.mk - normalize error messageFumitoshi Ukai2015-07-281-0/+2
| | | | | [go] fix not emit phony for missing [c-ninja] mark TODO to recipe_var.mk
* Fix func_backslash.mkShinichiro Hamaji2015-07-281-0/+1
|
* runtest.rb: add TODO mark go-ninja and c-ninjaFumitoshi Ukai2015-07-281-1/+7
|
* [C++] Fix info, warning, and error for ninjaShinichiro Hamaji2015-07-281-2/+7
|
* [C++] Let runtest.rb -c -n passShinichiro Hamaji2015-07-281-7/+17
| | | | | | - Add TODO(ninja) and use it in failing tests - Redirect stderr to stdout for ./ninja.sh - Do not replace tabs with whitespaces
* runtest.rb: use ninja.sh to handle exportFumitoshi Ukai2015-07-281-2/+2
| | | | | | [go] fix export_export.mk not_command_with_tab.mk
* [go] fix nothing_to_do.mkFumitoshi Ukai2015-07-171-0/+1
|
* Add a way to run tests with ninjaShinichiro Hamaji2015-07-161-10/+36
|
* fix blank_line_before_command.mkFumitoshi Ukai2015-07-151-0/+2
|
* use github.com/golang/glogFumitoshi Ukai2015-07-101-3/+4
|
* fix runtest.rb -sFumitoshi Ukai2015-07-101-0/+1
|
* [C++] Suppress autovar_assign.mk and value.mkShinichiro Hamaji2015-07-031-0/+1
|
* [C++] Make FindEmulator optionalShinichiro Hamaji2015-07-031-1/+1
|
* [C++] Introduce SymRefShinichiro Hamaji2015-06-291-0/+1
|