Skip to content

Commit ee750a9

Browse files
authored
Minor bugfixes. (#249)
JSRemoteTest-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
1 parent 21424fe commit ee750a9

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

jstest/builder/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def save_artifacts(modules):
4646
if 'dst' not in artifact:
4747
continue
4848

49-
if not eval(artifact.get('condition', 'False')):
49+
if not eval(artifact.get('condition', 'True')):
5050
continue
5151

5252
src = artifact.get('src')

jstest/builder/modules/iotjs.build.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
},
259259
"artifacts": [
260260
{
261-
"src": "%{tizen-iotjs-dir}/build/%{target}/%{build-type}/libs",
261+
"src": "%{tizen-iotjs-dir}/build/%{target}/%{build-type}/lib",
262262
"dst": "%{build-dir}/libs"
263263
},
264264
{

jstest/builder/modules/jerryscript.build.config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"dst": "%{build-dir}/libs"
5555
},
5656
{
57-
"src": "testsuite",
57+
"src": "%{testsuite}",
5858
"dst": "%{build-dir}/tests"
5959
}
6060
]
@@ -141,6 +141,10 @@
141141
"--profile=%{jerryscript}/jerry-core/profiles/minimal.profile"
142142
],
143143
"conditional-options": [
144+
{
145+
"condition": "'%{build-type}' == 'debug'",
146+
"args": ["--debug"]
147+
},
144148
{
145149
"condition": "%{memstat}",
146150
"args": ["--mem-stats=ON", "--debug"]

jstest/testrunner/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def read_test_files(env):
3333

3434
for root, _, files in os.walk(testpath):
3535
# The name of the testset is always the folder name.
36-
testset = utils.relpath(root, utils.abspath(utils.join(testpath, '..')))
36+
testset = utils.relpath(root, utils.abspath(utils.join(testpath)))
3737

3838
# Create a new testset entry if it doesn't exist.
3939
if testset not in testsets:

0 commit comments

Comments
 (0)