Changeset 588
- Timestamp:
- 03/29/07 11:27:54 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bin/applications/nightly_build_test_infrastructure/chroot.rb
r586 r588 118 118 119 119 # This method copies the HefeWeizen Tests Results to a specified directory. 120 def copy_test_result_to target 121 run "#{@sudo}mv #{@complete_path}/home/hefeweizen-env/var/log/hefeweizen-test/* #{target}" 120 def copy_test_result_to target, prefix 121 Dir.glob("#{@complete_path}/home/hefeweizen-env/var/log/hefeweizen-test/*").each{ | dir | 122 run "#{@sudo}mv #{dir} #{target}/#{prefix}_#{File.basename dir}" 123 } 122 124 end 123 125 trunk/bin/applications/nightly_build_test_infrastructure/hefeweizen-test-system.rb
r586 r588 113 113 114 114 @logger.info "Copying test result" 115 chroot.copy_test_result_to RESULTS_PATH115 chroot.copy_test_result_to "#{@target_path}/#{RESULTS_PATH}", prefix = chroot_name 116 116 117 117 @logger.info "No problems reported. Check the result of the test."
