Closed Bug 1608040 Opened 6 years ago Closed 6 years ago

tools/tryselect/test/test_preset_migration.t fails when run on its own

Categories

(Developer Infrastructure :: Try, defect)

defect
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

$ ./mach cramtest tools/tryselect/test/test_preset_migration.t
!
--- tools/tryselect/test/test_preset_migration.t
+++ tools/tryselect/test/test_preset_migration.t.err
@@ -4,6 +4,8 @@
 Test migration of syntax preset
 
   $ rm $MOZBUILD_STATE_PATH/try_presets.yml
+  rm: cannot remove '/tmp/cramtests-YVfyo3/tmp/mozbuild/try_presets.yml': No such file or directory
+  [1]
   $ cat > $MOZBUILD_STATE_PATH/autotry.ini << EOF
   > [try]
   > foo = -b o -p all -u mochitest -t none --tag bar

# Ran 1 tests, 0 skipped, 1 failed.

The problem is it's trying to clean up a file that is created by test_preset.t when running all the tests.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/306ff326d5d4 Clean up try presets from test_preset.t in that test rather than the one that follows. r=ahal
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: