summaryrefslogtreecommitdiff
path: root/abe-bisect.sh
AgeCommit message (Collapse)Author
2021-03-11abe-bisect.sh: Fix typoChristophe Lyon
Change-Id: I5980647619518b0f007d8d87a4becf95e7fea730
2021-03-11abe-bisect.sh: Fix 'check' phase for good and bad commitsChristophe Lyon
ABE requires that a 'required' step be present on the command-line, otherwise it does nothing. --check is not one of them, but --build is. This patch adds --build all, along with --disable update to avoid updating the sources after the first build. Change-Id: I0bf548c8ef638943339e0d9841d4da7a6f3f3418
2021-03-11abe-bisect.sh: Exit with an explicit error if no .sum was producedChristophe Lyon
Change-Id: I06168dbe2fb075664a322b7620d38edcf135678f
2021-02-08abe-bisect.sh: Split build and test phases for the initial good/bad checksChristophe Lyon
So that we can run the tests with parallelism disabled to help read the log and debug the problems. This should be OK since we normally run only one testcase, there shouldn't be much slowdown. Change-Id: I1ffad0d2898b35543834501d88f6a9e5222c78c0
2021-02-08abe-bisect.sh: Dump .log files when we fail to detect more errors in bad vs goodChristophe Lyon
Change-Id: I9f09909304b5b4d0e21bb202750f608f36a49305
2021-02-08abe-bisect.sh: Fix occurrences of BAD/GOOD vs BADGIT/GOODGIT and ↵Christophe Lyon
BADSHA1/GOODSHA1 Change-Id: I1f8e05261b5e7abf827d52f2c5ac93db5fdd998b
2020-12-18abe-bisect.sh: Fix path to stage2 build dir after recent ABE changesChristophe Lyon
ABE now uses the component name to prefix the build dir, use '*' as a convenience. Change-Id: Iebc7a5feadcda6ee91fa5c088eaec8992f83d495
2020-05-04abe-bisect*: Fix grep invocationsChristophe Lyon
A previous shellcheck cleanup patch broke the grep -w XXX *.YYY | wc -l commands because grep -wc XXX *.YYY also reports the names of the files scanned by grep. We want only the total number of matches, so we switch to: cat *.YYY | grep -wc XXX Change-Id: I64c54011042d8870e484ab81d24a5ff49b6163d5
2020-04-28Shellcheck fixes round 3David Spickett
Now using the version that's present in the bionic images. Meaning we have more warnings but can also set the minimum level to ignore a lot of them. Fix the check for whether shellcheck supports --severity. (we have pipefail on, but we expect shellcheck to fail in this case) Change-Id: I296b8554591b7d327c75393e3924184abc6512b7
2020-04-22Various shellcheck warning fixesDavid Spickett
First round of low hanging fruit from the files with the fewest warnings. Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
2020-04-20Shellcheck warning fixesDavid Spickett
(all error/style level warnings) SC1035: missing whitespace SC2068: double quote array expansions SC2145: argument mixes string and array SC1066: Don't use $ on the left side of assignments SC2126: Use grep -c instead of grep|wc Change-Id: Ia53070d3e2c9aea9f626fdb7b2b5bfc9e1f8e682
2020-04-15abe-bisect*: Fix previous commitChristophe Lyon
Change-Id: Ib51c33b18f95263c76982b84dbfb993d398cc13d
2020-04-15abe-bisect*: Fix support for LTO testcasesChristophe Lyon
With LTO tests, the source filename is not printed exactly in the results summary, so don't grep for it. Counting the number of FAIL/PASS should be sufficient since dejagnu will have already taken care of running only the tests we want. Change-Id: I6fddae2ca2fbb5c8f19a555b890e512a6a658c08
2020-02-01abe-bisect.sh: Require GOOTGIT and BADGIT instead of GOOD and BADChristophe Lyon
Change-Id: Ib96d07cd70e86f049819d43528ee1bd0dd3d51bf
2020-01-15abe-bisect.sh: Add support for good and bad revs as git revsChristophe Lyon
Change-Id: I749847cbbef25edf5a27541d15c698e7c0311c4c
2019-11-06abe-bisect.sh, abe-bisect-helper.sh: Be stricter when counting FAIL/PASSChristophe Lyon
Change-Id: Iea93bb1abf64eb05efa3c98d631a84d2d9e84e3e
2019-04-04abe-bisect.sh: Prefix notification email with a link to BUILD_URLChristophe Lyon
Change-Id: Id7c7d3a26132aa3834953e9c4589e2c29c97f75c
2019-04-04abe-bisect.sh: Save interesting output in mail-body.txtChristophe Lyon
This will help report status in the notification email. Change-Id: I36224e4ce2c3c537a40753fa5bc35ff81c6c62a9
2017-10-18abe-bisect.sh, abe-bisect-helper.sh: Add support for CPU,FPU,MODE.Christophe Lyon
Add support for the CPU,FPU and MODE overrides via the new ABE option: --set gcc_override_configure=XXX Change-Id: I14e55ac6c236478583cb10363d68286a9a4d6805
2017-10-11abe-bisect-helper.sh: Make use of the number of pass/fail in good.Christophe Lyon
Consider current commit "good" if it has more passes than GOOD, and "bad" if it has more failures. Change-Id: I76b325e3985699b04dd107c4a39c2315b82bef78
2017-10-11abe-bisect-helper.sh: Call git show with --no-pager.Christophe Lyon
To avoid less to wait for user input in case the scripts are used in interactive mode. Change-Id: Ib9eb003248d5a8190bf3c1158cbf9e25be23af37
2017-10-10abe-bisect.sh: Add a sanity check before starting bisection.Christophe Lyon
Make sure that the BAD revision has more failures than the GOOD one. This is useful since sometimes the regression being tracked is random, and bisection could fail or report the revision. Change-Id: I752a921eb04c9cbb411a2e2baee94d521053fd33
2017-06-16abe-bisect.sh: Use gcc-bisect-dir instead of snapshots/gcc.git~masterChristophe Lyon
To avoid messing up with abe's snapshots Change-Id: I7a723003799f1f5718ed2a37d5688ef090ac9e87
2017-06-15abe-bisect.sh: cleanup before pullChristophe Lyon
Change-Id: I7b3c70d7f25ea5b89ec857686d336ff845e839ef
2017-06-13abe-bisect.sh: pull latest version of gcc master before bisecting.Christophe Lyon
Otherwise we may have an outdated checkout, and fail to find good and/or bad revisions. Change-Id: I29225515f314268280c2f0bdb178a814caf3592c
2017-05-31abe-bisect.sh: Remove gcc.git~master directory before starting.Christophe Lyon
To make sure abe starts in a clean state. Change-Id: I5bc880ce82b3cd3f0214d1c634991d6d5c37077f
2017-05-31abe-bisect.sh: Cleanup workdir before starting.Christophe Lyon
To avoid starting a bisect in a non-clean directory. Change-Id: I469c1b43596f8e45b68937c4e930c2b20d602083
2016-12-15abe-bisect.sh: Fix typo in --with-git-reference-dir.Christophe Lyon
Change-Id: I7b4d4786f0e16c76c29793b68dc231b116068c56
2016-12-15abe-bisect.sh abe-bisect-helper.sh: New scripts.Christophe Lyon
This pair of scripts helps bisecting a regression in GCC (master branch) using ABE. Change-Id: Iea54df1d5038eb3f570a9f387990118cd3ac7d92