Commit 87d43f93 authored by Antonio Terceiro's avatar Antonio Terceiro

debci-test: fix regression with new packages

The probleam is caused by not mkdir'ing the full path to the adt-run output
directory. `fake` backend adapted to emulate the behaviour of adt-run so that
the tests would now fail without the fix.
parent ffc7e145
......@@ -25,7 +25,7 @@ else
r = rand(4)
end
FileUtils.mkdir_p(outdir)
FileUtils.mkdir(outdir)
if ENV["DEBCI_FAKE_DEPS"]
File.open(File.join(outdir, 'foo0t-mytest-packages'), 'w') do |f|
ENV["DEBCI_FAKE_DEPS"].split('|').each do |line|
......
......@@ -39,6 +39,7 @@ process_package() {
adt_out_dir="$(autopkgtest_dir_for_package "$pkg")/$run_id"
done
mkdir -p "$(dirname $adt_out_dir)"
start_timestamp=$(date +%s)
# ignore output; we'll get the log from the adt-run output-dir
......
debci (0.7.3) UNRELEASED; urgency=medium
debci (0.7.3) unstable; urgency=medium
* debci-generate-feeds:
- always update the global feed.
......@@ -6,8 +6,12 @@ debci (0.7.3) UNRELEASED; urgency=medium
page.
* debci-generate-index:
- report duration of each test run together with the status
* debci-test:
- fix regression with new packages caused by not mkdir'ing the full path
to the adt-run output directory. `fake` backend adapted to emulate the
behaviour of adt-run so that the tests would now fail without the fix.
-- Antonio Terceiro <terceiro@debian.org> Fri, 13 Jun 2014 11:34:50 -0300
-- Antonio Terceiro <terceiro@debian.org> Wed, 18 Jun 2014 14:29:46 +0200
debci (0.7.2) unstable; urgency=medium
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment