Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
deckard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
deckard
Commits
78ef1686
Commit
78ef1686
authored
May 15, 2018
by
Štěpán Balážik
Committed by
Tomas Krizek
May 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: fix for kresd:comparative test
parent
c144b742
Pipeline
#36203
passed with stage
in 2 minutes and 13 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
ci/compare-tests.sh
ci/compare-tests.sh
+3
-1
ci/junit-compare.py
ci/junit-compare.py
+0
-0
No files found.
.gitlab-ci.yml
View file @
78ef1686
...
@@ -75,6 +75,7 @@ test:comparative:kresd:
...
@@ -75,6 +75,7 @@ test:comparative:kresd:
# compare results from latest Deckard with results from merge base
# compare results from latest Deckard with results from merge base
-
cp ci/common.sh /tmp
-
cp ci/common.sh /tmp
-
cp ci/compare-tests.sh /tmp
-
cp ci/compare-tests.sh /tmp
-
cp ci/junit-compare.py /tmp
-
LD_LIBRARY_PATH=/tmp/.local/lib PATH=/tmp/.local/sbin:$PATH /tmp/compare-tests.sh $(pwd)/kresd_run.sh
-
LD_LIBRARY_PATH=/tmp/.local/lib PATH=/tmp/.local/sbin:$PATH /tmp/compare-tests.sh $(pwd)/kresd_run.sh
artifacts
:
artifacts
:
when
:
always
when
:
always
...
...
ci/compare-tests.sh
View file @
78ef1686
...
@@ -17,6 +17,8 @@ function find_modified_tests {
...
@@ -17,6 +17,8 @@ function find_modified_tests {
MODIFIED_TESTS_FILE
=
"/tmp/modified_tests"
MODIFIED_TESTS_FILE
=
"/tmp/modified_tests"
find_modified_tests
find_modified_tests
LOGS[0]
=
"
${
MODIFIED_TESTS_FILE
}
"
LOGS[0]
=
"
${
MODIFIED_TESTS_FILE
}
"
LOGS[1]
=
"/tmp/base.xml"
LOGS[2]
=
"/tmp/head.xml"
: get
test
results from version under
test
: get
test
results from version under
test
"
${
TESTRUNNER
}
"
-n
$(
nproc
)
--junit-xml
=
/tmp/head.xml
||
: some tests on HEAD
${
HEAD
}
failed
"
${
TESTRUNNER
}
"
-n
$(
nproc
)
--junit-xml
=
/tmp/head.xml
||
: some tests on HEAD
${
HEAD
}
failed
...
@@ -25,4 +27,4 @@ LOGS[0]="${MODIFIED_TESTS_FILE}"
...
@@ -25,4 +27,4 @@ LOGS[0]="${MODIFIED_TESTS_FILE}"
git checkout
--force
--detach
"
${
MERGEBASE
}
"
git checkout
--force
--detach
"
${
MERGEBASE
}
"
git clean
-xdf
git clean
-xdf
"
${
TESTRUNNER
}
"
-n
$(
nproc
)
--junit-xml
=
/tmp/base.xml
||
: some tests on merge base
${
MERGEBASE
}
failed
"
${
TESTRUNNER
}
"
-n
$(
nproc
)
--junit-xml
=
/tmp/base.xml
||
: some tests on merge base
${
MERGEBASE
}
failed
"
${
CIDIR
}
/junit
_
compare.py"
/tmp/head.xml /tmp/base.xml /tmp/modified_tests
&&
echo
"OK, no differences found"
"
${
CIDIR
}
/junit
-
compare.py"
/tmp/head.xml /tmp/base.xml /tmp/modified_tests
&&
echo
"OK, no differences found"
ci/junit
_
compare.py
→
ci/junit
-
compare.py
View file @
78ef1686
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment