aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: use sys-apps/gentoo-functions if availableSam James2022-09-231-9/+16
| | | | | | Gives us nicer looking output. Signed-off-by: Sam James <sam@gentoo.org>
* */*: use portable Bash shebangSam James2022-09-231-1/+1
| | | | | | Useful for Prefix in particular. Signed-off-by: Sam James <sam@gentoo.org>
* gcc-config: fix tests (drop einfo for LTO plugin)Sergei Trofimovich2018-08-131-2/+0
| | | | | | | | | | Before the change 3 tests failed due to extra output about switching to LTO plugin: * Running rw-multi-native-configs/test.use-old ... due to log difference; see .../TMP-test.use-old-rw-multi-native-configs/test.use-old.log [ !! ] * Running rw-multi-native-configs/test.select-insane ... due to log difference; see .../TMP-test.select-insane-rw-multi-native-configs/test.select-insane.log [ !! ] * Running rw-multi-native-configs/test.select ... due to log difference; see .../TMP-test.select-rw-multi-native-configs/test.select.log [ !! ] Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* tests/run_tests: switch to /lib/gentoo/functions.shSergei Trofimovich2018-08-131-2/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Ignore whitespace when diffing test results.Ryan Hill2015-05-121-1/+1
| | | | | | | | | | The amount of whitespace output by ebegin/eend from gentoo-functions is dynamic (seems to be dependent on terminal width). Since we can't predict this we have to ignore all whitespace differences. URL: https://bugs.gentoo.org/547586 Reported-by: tka <tka@kamph.org> Signed-off-by: Ryan Hill <rhill@gentoo.org>
* compile gcc-config into .gcc-config so we can test it properlyMike Frysinger2013-01-021-1/+2
| | | | | | | Otherwise, it means we can't sed certain values in a way which we then attempt to test. e.g. EPREFIX. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: run in parallelMike Frysinger2012-12-301-19/+41
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* run_test: set RC_NOCOLOR to suppress coloursFabian Groffen2012-12-301-1/+2
| | | | | | | | | | NOCOLOR appears not to work with functions.sh from baselayout-prefix, which is an old copy, prior to 2.0. Not sure if this patch is really worth it, since the output of functions.sh also differs enough to make tests fail. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: add some!Mike Frysinger2012-03-211-0/+104
Signed-off-by: Mike Frysinger <vapier@gentoo.org>