Skip to content
Browse files

skip dependencies when running tests

  • Loading branch information...
1 parent d5b6728 commit dbfeb17b827a7f9c24f43647513e6aac9392d752 @ostinelli committed
Showing with 6 additions and 2 deletions.
  1. +6 −2 sublimerl_tests_integration.py
View
8 sublimerl_tests_integration.py
@@ -262,10 +262,12 @@ def eunit_test(self, module_name, module_tests_name, function_name):
def compile_eunit_run_suite(self, suite, function_name=None):
os_cmd = '%s eunit suites=%s' % (SUBLIMERL.rebar_path, suite)
- if function_name != None:
- os_cmd += ' tests=%s' % function_name
+
+ if function_name != None: os_cmd += ' tests=%s' % function_name
if self.app_name: os_cmd += ' apps=%s' % self.app_name
+ os_cmd += ' skip_deps=true'
+
retcode, data = self.execute_os_command(os_cmd, dir_type='project', block=False)
# interpret
self.interpret_test_results(retcode, data)
@@ -359,6 +361,8 @@ def ct_test(self, module_tests_name, function_name):
self.log("Running tests of Common Tests SUITE \"%s_SUITE.erl\".\n\n" % module_tests_name)
os_cmd = '%s ct suites=%s' % (SUBLIMERL.rebar_path, module_tests_name)
+ # complete command
+ os_cmd += ' skip_deps=true'
# compile all source code
self.compile_source()
# run suite

0 comments on commit dbfeb17

Please sign in to comment.
Something went wrong with that request. Please try again.