score:4.52Y
Change-Id: I1941ada987064ca26d5ef8b41b3651fb3356aabc
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
shutil.copy(spec, export_dir)
# Remove tracked export branches
- if tracked_branches:
+ if True:
+ #if tracked_branches:
untrack_export_branches(repo, tracked_branches)
specfile = os.path.basename(main_spec)
#Repo section example
[repo.tizen_latest]
#Build against repo's URL
-url = http://download.tizen.org/releases/daily/trunk/ivi/latest/
+url = http://download.tizen.org/releases/milestone/tizen/unified/latest/repos/standard/packages//
#Optional user and password, set if differ from profile's user and password
#user =
#passwd =
import shutil
import tempfile
from nose.tools import raises, eq_
+from gitbuildsys.cmd_export import config_is_true
GBS = imp.load_source("gbs", "./tools/gbs").main
except SystemExit as err:
eq_(err.code, 0)
+
+ def test_config_is_true(self):
+ '''test config_is_true fumction'''
+ config_is_true('yes')
+ config_is_true(True)
+ pass
+
def test_command_export_disable_fallback_to_native_packaging(self):
"""Test running gbs export failed case:disable fallback to native commond."""
try: