if root.endswith("mediasrc"):
continue
- for file in files:
- if file.endswith("%s.wgt" % PKG_NAME):
- if not doRemoteCopy(os.path.join(root, file), "%s/%s" % (SRC_DIR, file)):
- action_status = False
- (return_code, output) = doRemoteCMD(
- "pkgcmd %s -i -t wgt -q -p %s/%s" % (GLOVAL_OPT, SRC_DIR, file))
- doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, file))
- for line in output:
- if "Failure" in line:
- action_status = False
- break
+# for file in files:
+# if file.endswith("%s.wgt" % PKG_NAME):
+# if not doRemoteCopy(os.path.join(root, file), "%s/%s" % (SRC_DIR, file)):
+# action_status = False
+# (return_code, output) = doRemoteCMD(
+# "pkgcmd %s -i -t wgt -q -p %s/%s" % (GLOVAL_OPT, SRC_DIR, file))
+# doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, file))
+# for line in output:
+# if "Failure" in line:
+# action_status = False
+# break
# Do some special copy/delete... steps
'''
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite name="tct-widget02-w3c-tests" category="W3C/HTML5 APIs">
- <set name="WidgetPackaging" type="js">
+ <set name="WidgetPackaging">
<testcase purpose="Test widget installation for the path include \ in the opposite direction." type="compliance" status="approved" component="WebAPI/Widget/Widget Packaging and XML Configuration" execution_type="auto" priority="P3" id="WAC_PAKCONF_011">
<description>
<test_script_entry timeout="90">{DEVICE_EXECUTION_MODE_30}_user@{DEVICE_SUITE_TARGET_30}/tct/opt/tct-widget02-w3c-tests/scripts/w3c_widget_launch.sh WAC_PAKCONF_011.wgt</test_script_entry>
</specs>
</testcase>
</set>
- <set name="WidgetPackaging_mobile" type="js">
+ <set name="WidgetPackaging_mobile" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</capabilities>
</specs>
</testcase>
</set>
- <set name="WidgetPackaging_wearable" type="js">
+ <set name="WidgetPackaging_wearable" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</capabilities>
</specs>
</testcase>
</set>
- <set name="WidgetPackaging_tv" type="js">
+ <set name="WidgetPackaging_tv" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
</capabilities>
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite category="W3C/HTML5 APIs" name="tct-widget02-w3c-tests">
- <set name="WidgetPackaging" type="js">
+ <set name="WidgetPackaging" type="script">
<testcase component="W3C_HTML5 APIs/Widget/Widget Packaging and XML Configuration" execution_type="auto" id="WAC_PAKCONF_011" priority="P3" purpose="Test widget installation for the path include \ in the opposite direction.">
<description>
<test_script_entry timeout="90">{DEVICE_EXECUTION_MODE_30}_user@{DEVICE_SUITE_TARGET_30}/tct/opt/tct-widget02-w3c-tests/scripts/w3c_widget_launch.sh WAC_PAKCONF_011.wgt</test_script_entry>
</description>
</testcase>
</set>
- <set name="WidgetPackaging_mobile" type="js">
+ <set name="WidgetPackaging_mobile" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
</capabilities>
</description>
</testcase>
</set>
- <set name="WidgetPackaging_wearable" type="js">
+ <set name="WidgetPackaging_wearable" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
</capabilities>
</description>
</testcase>
</set>
- <!--set name="WidgetPackaging_tv" type="js">
+ <!--set name="WidgetPackaging_tv" type="script">
<capabilities>
<capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
</capabilities>