aboutsummaryrefslogtreecommitdiff
path: root/runtest.rb
AgeCommit message (Collapse)Author
2018-08-23Fix 'append final' assignment.Sasha Smundak
* Fix the code, add the test. * Add a quiet mode for running the tests (only the failing tests will be shown).
2018-07-27Do not rewrite dependencies on implicit outputs to be the primary outputSasha Smundak
2017-09-29Fix build and test using bionic as a libcDan Willemsen
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.
2017-02-22Add --color_warnings to make warnings/errors like clangDan Willemsen
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.
2016-05-09Normalize log for recent ninjaShinichiro Hamaji
for issue #68
2016-04-28Normalize Unicode quotes for recent findShinichiro Hamaji
2016-04-28Explicitly use SHELL=/bin/bashShinichiro Hamaji
Also use override in tests which set $(SHELL)
2016-04-27Clean up normalization in runtest.rb a bitShinichiro Hamaji
2016-04-27Normalize GNU make 4.00 in runtest.rbStefan Becker
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
2016-04-27Suppress GNU make jobserver magic in runtest.rbStefan Becker
Fixes https://github.com/google/kati/issues/60 Change-Id: I2f539f5c41f96a302a73f8cc5c44332b4f4cd7d3
2016-04-27Add testcase/posix_var.mkShinichiro Hamaji
For 187bf08e7fc847da6dc8482383fa5c8364f0ac50
2016-03-15Use subshell even when a command starts with '('Shinichiro Hamaji
2016-02-09[C++] Report no-need-to-regen message to stderrShinichiro Hamaji
For consistency with regen.cc
2015-11-09[C++] separate ninja shell script into twoColin Cross
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
2015-10-05Exit 1 in runtest.rbShinichiro Hamaji
2015-10-05Revert "Always use SHELL=/bin/bash in our test"Shinichiro Hamaji
This reverts commit a73e93be50fbfc87ddf3e3171d0980606283ea03.
2015-10-05Always use SHELL=/bin/bash in our testShinichiro Hamaji
2015-10-05[C++] Fix err_include.mk for -c -nShinichiro Hamaji
2015-10-05[C++] Fix err_include.mkShinichiro Hamaji
2015-10-03[C++] Fix target specific variables with --gen_all_targetsShinichiro Hamaji
--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.
2015-10-03[C++] Test --gen_all_targets on travisShinichiro Hamaji
2015-10-02Fix ninja tests if NINJA_STATUS is setColin Cross
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
2015-09-11A typo fix in runtest.rbShinichiro Hamaji
2015-09-10Add -v flag to runtest.rbShinichiro Hamaji
2015-09-09[C++] Fix submake_basic.mk for non-ninja modeShinichiro Hamaji
2015-09-09Make it possible to write tests for submakeShinichiro Hamaji
2015-09-04[go] fix func_backslash.mk and err_invalid_ifeq5.mkFumitoshi Ukai
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)
2015-08-31[C++] Fix ninja EmitNode early exitDan Willemsen
Change-Id: I2b574a71472508515e9d06e55ff2c2e1a5292c2b
2015-08-25[C++] Fix testcase/nothing_to_do.mkDan Willemsen
Change-Id: Ic370c2e2442efc5eb0cde9294e0f18084bdabeca
2015-08-25Remove hardcoded skip in runtest.rbDan Willemsen
The eval_assign test passes with ckati. Change-Id: I07bb546cbaa777debf9d8b1a82484dd14ae523ed
2015-08-11[go] fix find_command.mk - "cd xxx && find ."Fumitoshi Ukai
2015-08-11[C++] Allow an expected message from ninja_regen.shShinichiro Hamaji
2015-08-11[C++] Reduce unnecessary shell invocationsShinichiro Hamaji
When FindEmulator is sure the target directory does not exist, we do not need to run the shell command.
2015-08-05[C++] Warn potential parse errorsShinichiro Hamaji
2015-07-31[go] implement find emulatorFumitoshi Ukai
2015-07-31[C++] Fix ninja_regen.sh for --regenShinichiro Hamaji
2015-07-30[C++] Add a test for ninja re-generationShinichiro Hamaji
2015-07-29[go] fix find_command.mk testFumitoshi Ukai
not yet implemented builtin find, but it was failing just because it detected kati log files and json files. runtest.rb ignores these files.
2015-07-28fix err_no_rule.mk - normalize error messageFumitoshi Ukai
[go] fix not emit phony for missing [c-ninja] mark TODO to recipe_var.mk
2015-07-28Fix func_backslash.mkShinichiro Hamaji
2015-07-28runtest.rb: add TODO mark go-ninja and c-ninjaFumitoshi Ukai
2015-07-28[C++] Fix info, warning, and error for ninjaShinichiro Hamaji
2015-07-28[C++] Let runtest.rb -c -n passShinichiro Hamaji
- Add TODO(ninja) and use it in failing tests - Redirect stderr to stdout for ./ninja.sh - Do not replace tabs with whitespaces
2015-07-28runtest.rb: use ninja.sh to handle exportFumitoshi Ukai
[go] fix export_export.mk not_command_with_tab.mk
2015-07-17[go] fix nothing_to_do.mkFumitoshi Ukai
2015-07-16Add a way to run tests with ninjaShinichiro Hamaji
2015-07-15fix blank_line_before_command.mkFumitoshi Ukai
2015-07-10use github.com/golang/glogFumitoshi Ukai
2015-07-10fix runtest.rb -sFumitoshi Ukai
2015-07-03[C++] Suppress autovar_assign.mk and value.mkShinichiro Hamaji