Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
2b628be8
Commit
2b628be8
authored
Feb 19, 2007
by
Andrea Sciaba
Browse files
First version
parent
81efea8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
SiteTests/MonteCarlo/tests/CE-cms-mc
0 → 100755
View file @
2b628be8
#!/bin/bash
echo
"<h2>Stage out test for the Monte Carlo production</h2>"
# Source the CMS environment
echo
"<h3>Sourcing the CMS environment</h3>"
echo
"<pre>"
source
$VO_CMS_SW_DIR
/cmsset_default.sh
result
=
$?
echo
"</pre>"
if
[
$result
!=
0
]
then
echo
"ERROR:
$VO_CMS_SW_DIR
/cmsset_default.sh non existent or non readable"
exit
$SAME_ERROR
fi
export
PYTHONPATH
=
$SAME_SENSOR_HOME
/cms-MC-test:
$PYTHONPATH
echo
"<h3>Checking PYTHONPATH</h3>"
echo
"<pre>"
echo
"PYTHONPATH=
$PYTHONPATH
"
echo
"</pre>"
echo
"<h3>Invoking site test</h3>"
echo
"<pre>"
cd
$SAME_SENSOR_HOME
/cms-MC-test
chmod
+x RuntimeSAMStageOut.py
./RuntimeSAMStageOut.py
EXIT_STATUS
=
$?
echo
"</pre>"
if
[
$EXIT_STATUS
-ne
0
]
;
then
echo
"ERROR: Stage Out Test failed:
$EXIT_STATUS
"
exit
$SAME_ERROR
else
echo
"Stage Out Test successful"
exit
$SAME_OK
fi
SiteTests/MonteCarlo/tests/CE-cms-mc.def
0 → 100644
View file @
2b628be8
testName: CE-cms-mc
testTitle: Monte Carlo
testAbbr: mc
testHelp: none
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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