summaryrefslogtreecommitdiff
path: root/abe-bisect-helper.sh
AgeCommit message (Collapse)Author
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
2019-11-06abe-bisect.sh, abe-bisect-helper.sh: Be stricter when counting FAIL/PASSChristophe Lyon
Change-Id: Iea93bb1abf64eb05efa3c98d631a84d2d9e84e3e
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-08-24abe-bisect-helper.sh: Show commit before build/checkChristophe Lyon
To help read the logs, show the commit contents of each commit being tested during the bisect process. Change-Id: Icb39d08c8966e182aecbc2243c289c9c85c756fa
2016-12-15abe-bisect-helper.sh: redirect abe build logs.Christophe Lyon
To avoid filling Jenkins' console. Change-Id: Idebbc425f2418a29e749f6853b4504d3349248ff
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