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 bd0f2b8 commit ba3b193Copy full SHA for ba3b193
1 file changed
components/admin/test-suite/SOURCES/get_source.sh
@@ -0,0 +1,24 @@
1
+#!/usr/bin/env bash
2
+
3
+set -xe
4
5
+# Note: The current working directory is the component's SPEC folder
6
+OHPC_ROOT_FOLDER="../../../.."
7
8
+# The folder that will contain the .git/ and docs/ folders
9
+TESTS_OHPC_FOLDER=tests-ohpc
10
11
+cleanup() {
12
+ rm -rf ${TESTS_OHPC_FOLDER}
13
+}
14
+trap cleanup EXIT
15
16
+# 1. Prepare
17
+cleanup
18
+mkdir -p ${TESTS_OHPC_FOLDER}
19
20
+# 2. Copy the local docs/
21
+cp -r ${OHPC_ROOT_FOLDER}/tests ${TESTS_OHPC_FOLDER}
22
23
+# 3. Create tests-ohpc.tar
24
+tar cf ../SOURCES/tests-ohpc.tar ${TESTS_OHPC_FOLDER}
0 commit comments