Skip to content

Commit

Permalink
tests: migrate another batch of .t tests to debugruntest
Browse files Browse the repository at this point in the history
Summary: After some recent changes it looks like we can actually migrate another batch of tests to debugruntest. This seems fine for the most part, except for a few macOS cases where `chg` has to be disabled for those tests

Reviewed By: zzl0

Differential Revision: D54868500

fbshipit-source-id: 2c0a1e2b78d04b79f797faf2deee1555485a2833
  • Loading branch information
sggutier authored and facebook-github-bot committed Mar 19, 2024
1 parent d239119 commit 68da520
Show file tree
Hide file tree
Showing 51 changed files with 55 additions and 3 deletions.
1 change: 1 addition & 0 deletions eden/scm/tests/test-atexit-epipe.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require bash

$ eagerepo
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-check-clang-format.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#require clang-format test-repo
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-check-code.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#require test-repo
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-check-fix-code.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#require test-repo
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-check-help.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#require test-repo normal-layout
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-checkserverbookmark.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

$ . "$TESTDIR/hgsql/library.sh"
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-chg.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require chg linux

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-default-command.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ configure modern
$ enable smartlog
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-fbconduit.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

$ . "$TESTDIR/hgsql/library.sh"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

Demonstrates the "cannot rebase public commits" issue seen using hgsql and
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-pushrebase-set-dates.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#chg-compatible
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-remotefilelog-local.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-remotefilelog-pull-noshallow.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ . "$TESTDIR/library.sh"

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-sampling.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require no-fsmonitor

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-scm-prompt-compat.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-scm-prompt-git.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-scm-prompt-hg.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-smartlog-smartdate.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#inprocess-hg-incompatible

Expand Down
3 changes: 2 additions & 1 deletion eden/scm/tests/test-fb-ext-treemanifest-infinitepush.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#chg-compatible
#debugruntest-compatible

$ setconfig experimental.allowfilepeer=True

$ . "$TESTDIR/library.sh"
Expand Down
3 changes: 2 additions & 1 deletion eden/scm/tests/test-fb-ext-treemanifest-sendtrees.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#chg-compatible
#debugruntest-compatible

$ setconfig experimental.allowfilepeer=True

$ . "$TESTDIR/library.sh"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

$ configure modernclient
Expand Down
3 changes: 2 additions & 1 deletion eden/scm/tests/test-fb-ext-treemanifest-treeonly-linknodes.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#chg-compatible
#debugruntest-compatible

$ setconfig experimental.allowfilepeer=True

$ . "$TESTDIR/library.sh"
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fb-ext-treemanifest.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fsmonitor-casefolding.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor icasefs

(Run this test using HGFSMONITOR_TESTS=1)
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fsmonitor-metadata.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require fsmonitor

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fsmonitor-refreshclock.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fsmonitor-status.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-fsmonitor-warn-fresh.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-histedit-reorder.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-lfs-checksum.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-lfs-test-server.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
XXX: This test is currently broken if lfs-test-server is installed.

#require false lfs-test-server
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-lock-badness.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

#require unix-permissions no-root no-windows
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-mutation-infinitepush.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash
$ setconfig experimental.allowfilepeer=True
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-no-symlinks.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
TODO(debugruntest): this test fails on Mac
#chg-compatible
$ export SL_DEBUG_DISABLE_SYMLINKS=1
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-pipe-command-server.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require no-windows
$ configure modernclient

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-progress-rust-renderer.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-progressfile.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-pull-hint.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ hg init test
$ cd test
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-purge-fsmonitor.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-push.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig devel.segmented-changelog-rev-compat=true
$ setconfig experimental.allowfilepeer=True
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rebase-dest.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ eagerepo
$ setconfig experimental.allowfilepeer=True
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rebase-interruptions.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rebase-mutation.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ setconfig experimental.allowfilepeer=True
$ setconfig devel.segmented-changelog-rev-compat=true
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rebase-parameters.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
$ eagerepo
$ configure mutation-norecord dummyssh
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rebase-templates.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

$ eagerepo
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-runlog.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require bash

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-rust-clone.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible

test rust clone
Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-tracing-under-chg.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#chg-compatible
#require chg

Expand Down
1 change: 1 addition & 0 deletions eden/scm/tests/test-treestate-fresh-instance.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#debugruntest-compatible
#require fsmonitor

$ configure modernclient
Expand Down
2 changes: 2 additions & 0 deletions eden/scm/tests/test-update-empty.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.

#debugruntest-compatible

# Empty update fails with a helpful error:

$ setconfig devel.segmented-changelog-rev-compat=true
Expand Down

0 comments on commit 68da520

Please sign in to comment.