diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-23 15:43:09 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-23 15:43:09 +0000 |
commit | 6c01e040cad38e0317f4389bd01a98357aee0637 (patch) | |
tree | 2e811fdac2e7dbeede7314aab37b29f6908a9600 /install.rb | |
parent | 22bd24b2a2d29431320f67ebbb93d36fbae1c9ba (diff) | |
download | facter-6c01e040cad38e0317f4389bd01a98357aee0637.tar.gz facter-6c01e040cad38e0317f4389bd01a98357aee0637.tar.xz facter-6c01e040cad38e0317f4389bd01a98357aee0637.zip |
Fixing install and tests so that there are no errors, hopefully.
git-svn-id: http://reductivelabs.com/svn/facter/trunk@102 1f5c1d6a-bddf-0310-8f58-fc49e503516a
Diffstat (limited to 'install.rb')
-rw-r--r-- | install.rb | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -197,10 +197,15 @@ end def run_tests(test_list) begin require 'test/unit/ui/console/testrunner' + require 'test/unit' + + unless defined? Test::Unit::TestCase + raise LoadError, "Could not find unit test library" + end $:.unshift "lib" test_list.each do |test| - next if File.directory?(test) - require test + next if File.directory?(test) + require test end tests = [] @@ -293,6 +298,5 @@ bd = nil # bd = "#{Config::CONFIG['bindir']}" #end -puts "bin dir is %s" % InstallOptions.bin_dir do_bins(bins, InstallOptions.bin_dir) do_libs(libs) |