projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move 'launchpad' directory to 'RIFT_VAR_ROOT' from 'RIFT_ARTIFACTS'
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
rwlaunchpadtasklet
/
test
/
utest_export.py
diff --git
a/rwlaunchpad/plugins/rwlaunchpadtasklet/test/utest_export.py
b/rwlaunchpad/plugins/rwlaunchpadtasklet/test/utest_export.py
index
7a787c7
..
b035e44
100755
(executable)
--- a/
rwlaunchpad/plugins/rwlaunchpadtasklet/test/utest_export.py
+++ b/
rwlaunchpad/plugins/rwlaunchpadtasklet/test/utest_export.py
@@
-29,6
+29,10
@@
import unittest
import uuid
import xmlrunner
import uuid
import xmlrunner
+#Setting RIFT_VAR_ROOT if not already set for unit test execution
+if "RIFT_VAR_ROOT" not in os.environ:
+ os.environ['RIFT_VAR_ROOT'] = os.path.join(os.environ['RIFT_INSTALL'], 'var/rift/unittest')
+
import rift.package.archive
import rift.package.charm
import rift.package.checksums
import rift.package.archive
import rift.package.charm
import rift.package.checksums