Skip to content

Commit 50cb78f

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
Update tns_tests_runner.py
1 parent 5f385eb commit 50cb78f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tns_tests_runner.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,13 @@ def run_tests():
100100
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(Help))
101101

102102
if ('TEST_RUN' in os.environ) and ("LIVESYNC" in os.environ['TEST_RUN']):
103-
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncSimulator))
104-
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSynciOS))
105-
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncEmulator))
106-
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncAndroid))
103+
if 'Darwin' in platform.platform():
104+
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncSimulator))
105+
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSynciOS))
106+
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncEmulator))
107+
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncAndroid))
108+
if 'Windows' in platform.platform():
109+
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncEmulator))
107110
else:
108111
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LogTrace))
109112
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(Autocomplete))
@@ -127,8 +130,6 @@ def run_tests():
127130
if ('ACTIVE_UI' in os.environ) and ("YES" in os.environ['ACTIVE_UI']):
128131
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(EmulateAndroid))
129132
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LibraryAndroid))
130-
# move it only to OSX due to python failures on Windows
131-
# suite.addTests(unittest.TestLoader().loadTestsFromTestCase(LiveSyncEmulator))
132133
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TranspilationTypeScript))
133134
if 'Darwin' in platform.platform():
134135
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(EmulateiOS))

0 commit comments

Comments
 (0)