Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
2ffc3584
Commit
2ffc3584
authored
Apr 10, 2018
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more automated build refactoring
parent
9f1250a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
53 deletions
+36
-53
darshan-test/automated/common/build.sh
darshan-test/automated/common/build.sh
+36
-10
darshan-test/automated/mcs/build.sh
darshan-test/automated/mcs/build.sh
+0
-43
No files found.
darshan-test/automated/common/build.sh
View file @
2ffc3584
#!/bin/bash
#
# B
ase build script which calls the system specific version.
# B
uild darshan runtime and util code
#
fcount
=
0
runtime_status
=
0
util_status
=
0
runtime_result
=
""
util_result
=
""
thedate
=
$(
date
)
status
=
0
cd
build/darshan-runtime
make
&&
make
install
runtime_status
=
$?
if
[
$runtime_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
runtime_result
=
"<error type='
$runtime_status
' message='build failed' />"
fi
if
[[
$NODE_LABELS
=
~
"mcs"
]]
;
then
source
darshan-test/automated/mcs/build.sh
status
=
$?
else
# unknown machine
status
=
100
cd
../../build/darshan-util
make
&&
make
install
util_status
=
$?
if
[
$util_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
util_result
=
"<error type='
$util_status
' message='build failed' />"
fi
exit
$status
cd
../../
;
echo
"
<testsuites>
<testsuite name='build' tests='2' failures='
$fcount
' time='
$thedate
'>
<testcase name='darshan-runtime' time='
$thedate
'>
$runtime_result
</testcase>
<testcase name='darshan-util' time='
$thedate
'>
$util_result
</testcase>
</testsuite>
</testsuites>
"
>
build-result.xml
exit
$fcount
darshan-test/automated/mcs/build.sh
deleted
100644 → 0
View file @
9f1250a9
#!/bin/bash
#
# Build darshan runtime and util code
#
fcount
=
0
runtime_status
=
0
util_status
=
0
runtime_result
=
""
util_result
=
""
thedate
=
$(
date
)
cd
build/darshan-runtime
make
&&
make
install
runtime_status
=
$?
if
[
$runtime_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
runtime_result
=
"<error type='
$runtime_status
' message='build failed' />"
fi
cd
../../build/darshan-util
make
&&
make
install
util_status
=
$?
if
[
$util_status
-ne
0
]
;
then
fcount
=
$((
fcount+1
))
;
util_result
=
"<error type='
$util_status
' message='build failed' />"
fi
cd
../../
;
echo
"
<testsuites>
<testsuite name='build' tests='2' failures='
$fcount
' time='
$thedate
'>
<testcase name='darshan-runtime' time='
$thedate
'>
$runtime_result
</testcase>
<testcase name='darshan-util' time='
$thedate
'>
$util_result
</testcase>
</testsuite>
</testsuites>
"
>
build-result.xml
exit
$fcount
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