public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gcc-config:master commit in: tests/multi-configs/, ...
@ 2020-01-26 13:44 Sergei Trofimovich
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2020-01-26 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     5ce9c530743552c7ffdc331a2f36e566bfb3b33a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 13:43:14 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 13:43:14 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=5ce9c530

tests: add a test for bug #706318

Bug: https://bugs.gentoo.org/706318
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 tests/multi-configs/test.numbered                                 | 7 +++++++
 tests/multi-configs/test.numbered.exp                             | 8 ++++++++
 tests/multi-configs/usr/lib/gcc/arm-none-eabi/4.5.3/.keep         | 0
 tests/multi-configs/usr/lib/gcc/arm-unknown-linux-gnu/4.5.3/.keep | 0
 .../usr/lib/gcc/arm-unknown-linux-gnueabi/4.5.3/.keep             | 0
 tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/10.0.0/.keep  | 0
 tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/.keep  | 0
 tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/.keep   | 0
 tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/.keep   | 0
 9 files changed, 15 insertions(+)

diff --git a/tests/multi-configs/test.numbered b/tests/multi-configs/test.numbered
new file mode 100644
index 0000000..c8d8e40
--- /dev/null
+++ b/tests/multi-configs/test.numbered
@@ -0,0 +1,7 @@
+#!/bin/bash
+# make sure we get numbering right, try to access gcc-10
+# to make sure number version ordering is right:
+# https://bugs.gentoo.org/706318
+for i in {1..8}; do
+    gcc-config -C -B $i
+done

diff --git a/tests/multi-configs/test.numbered.exp b/tests/multi-configs/test.numbered.exp
new file mode 100644
index 0000000..fe72c0d
--- /dev/null
+++ b/tests/multi-configs/test.numbered.exp
@@ -0,0 +1,8 @@
+/usr/x86_64-pc-linux-gnu/arm-none-eabi/gcc-bin/4.5.3
+/usr/x86_64-pc-linux-gnu/arm-unknown-linux-gnu/gcc-bin/4.5.3
+/usr/x86_64-pc-linux-gnu/arm-unknown-linux-gnueabi/gcc-bin/4.5.3
+/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.0
+/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.1
+/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2
+/usr/x86_64-pc-linux-gnu/gcc-bin/10.0.0
+/usr/x86_64-pc-linux-gnu/gcc-bin/11.0.0-pre9999

diff --git a/tests/multi-configs/usr/lib/gcc/arm-none-eabi/4.5.3/.keep b/tests/multi-configs/usr/lib/gcc/arm-none-eabi/4.5.3/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/arm-unknown-linux-gnu/4.5.3/.keep b/tests/multi-configs/usr/lib/gcc/arm-unknown-linux-gnu/4.5.3/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/arm-unknown-linux-gnueabi/4.5.3/.keep b/tests/multi-configs/usr/lib/gcc/arm-unknown-linux-gnueabi/4.5.3/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/10.0.0/.keep b/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/10.0.0/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/.keep b/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/.keep b/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/.keep
new file mode 100644
index 0000000..e69de29

diff --git a/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/.keep b/tests/multi-configs/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/.keep
new file mode 100644
index 0000000..e69de29


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-26 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-26 13:44 [gentoo-commits] proj/gcc-config:master commit in: tests/multi-configs/, Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox