diff options
author | Christoph Helma <helma@in-silico.de> | 2009-10-06 10:39:43 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-10-06 10:39:43 +0200 |
commit | 5d5688fbe43806af8523e5481715b5969feeab60 (patch) | |
tree | c5b2d26cbc2a2ebffa4606dfded62afd6d4c5821 /test/start-local-webservices.rb | |
parent | 9f16c1ede56a95368044a333f716d09c0240e5ab (diff) |
Passes tests in opentox-test
Diffstat (limited to 'test/start-local-webservices.rb')
-rwxr-xr-x | test/start-local-webservices.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/start-local-webservices.rb b/test/start-local-webservices.rb deleted file mode 100755 index 66dea29..0000000 --- a/test/start-local-webservices.rb +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby -require 'fileutils' - -port = 5000 -[ "opentox-compound", "opentox-feature" , "opentox-dataset" , "opentox-fminer" , "opentox-lazar" ].each do |component| - ENV[component.upcase.gsub(/-/,'_')] = "http://localhost:#{port}/" - Dir.chdir ENV['HOME'] + '/webservices/' + component - Dir["test.sqlite3"].each { |f| FileUtils.rm_rf(f) } - file = 'application.rb' - pid = fork {`urxvt -title #{component} -e thin --debug --rackup config.ru start -p #{port} -e test`} - Process.detach(pid) - port += 1 -end |