We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb1915 commit f7b747fCopy full SHA for f7b747f
gnu-test-setup/fetch-gcc-testharness.sh
@@ -0,0 +1,12 @@
1
+# make sure we have one argument which is the path of the GNU testsuite
2
+if [ $# -ne 1 ]; then
3
+ echo "Usage: $0 <path-to-gnu-testsuite>"
4
+ exit 1
5
+fi
6
+git archive --remote=git://gcc.gnu.org/git/gcc.git HEAD contrib/dg-extract-results.py | tar -x --strip-components=1
7
+git archive --remote=git://gcc.gnu.org/git/gcc.git HEAD gcc/testsuite/lib | tar -x --strip-components=2
8
+
9
+# Move lib to testsuite/lib
10
+mv lib $1
11
+# Move dg-extract-results.py to testsuite
12
+mv dg-extract-results.py $1
0 commit comments