D3063: tests: skip largefiles and lfs tests when using simple store
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Apr 4 17:27:59 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf4e84dfc06fd: tests: skip largefiles and lfs tests when using simple store (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3063?vs=7606&id=7650
REVISION DETAIL
https://phab.mercurial-scm.org/D3063
AFFECTED FILES
tests/test-largefiles-cache.t
tests/test-largefiles-misc.t
tests/test-largefiles-small-disk.t
tests/test-largefiles-update.t
tests/test-largefiles-wireproto.t
tests/test-largefiles.t
tests/test-lfconvert.t
tests/test-lfs-bundle.t
tests/test-lfs-largefiles.t
tests/test-lfs-serve-access.t
tests/test-lfs-serve.t
tests/test-lfs-test-server.t
tests/test-lfs.t
CHANGE DETAILS
diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
# Initial setup
$ cat >> $HGRCPATH << EOF
diff --git a/tests/test-lfs-test-server.t b/tests/test-lfs-test-server.t
--- a/tests/test-lfs-test-server.t
+++ b/tests/test-lfs-test-server.t
@@ -1,3 +1,4 @@
+#require no-reposimplestore
#testcases git-server hg-server
#if git-server
diff --git a/tests/test-lfs-serve.t b/tests/test-lfs-serve.t
--- a/tests/test-lfs-serve.t
+++ b/tests/test-lfs-serve.t
@@ -1,5 +1,5 @@
#testcases lfsremote-on lfsremote-off
-#require serve
+#require serve no-reposimplestore
This test splits `hg serve` with and without using the extension into separate
tests cases. The tests are broken down as follows, where "LFS"/"No-LFS"
diff --git a/tests/test-lfs-serve-access.t b/tests/test-lfs-serve-access.t
--- a/tests/test-lfs-serve-access.t
+++ b/tests/test-lfs-serve-access.t
@@ -1,4 +1,4 @@
-#require serve
+#require serve no-reposimplestore
$ cat >> $HGRCPATH <<EOF
> [extensions]
diff --git a/tests/test-lfs-largefiles.t b/tests/test-lfs-largefiles.t
--- a/tests/test-lfs-largefiles.t
+++ b/tests/test-lfs-largefiles.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
This tests the interaction between the largefiles and lfs extensions, and
conversion from largefiles -> lfs.
diff --git a/tests/test-lfs-bundle.t b/tests/test-lfs-bundle.t
--- a/tests/test-lfs-bundle.t
+++ b/tests/test-lfs-bundle.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
In this test, we want to test LFS bundle application on both LFS and non-LFS
repos.
diff --git a/tests/test-lfconvert.t b/tests/test-lfconvert.t
--- a/tests/test-lfconvert.t
+++ b/tests/test-lfconvert.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
$ USERCACHE="$TESTTMP/cache"; export USERCACHE
$ mkdir "${USERCACHE}"
$ cat >> $HGRCPATH <<EOF
diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t
--- a/tests/test-largefiles.t
+++ b/tests/test-largefiles.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
This file used to contains all largefile tests.
Do not add any new tests in this file as it his already far too long to run.
diff --git a/tests/test-largefiles-wireproto.t b/tests/test-largefiles-wireproto.t
--- a/tests/test-largefiles-wireproto.t
+++ b/tests/test-largefiles-wireproto.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
#testcases sshv1 sshv2
#if sshv2
diff --git a/tests/test-largefiles-update.t b/tests/test-largefiles-update.t
--- a/tests/test-largefiles-update.t
+++ b/tests/test-largefiles-update.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
This file focuses mainly on updating largefiles in the working
directory (and ".hg/largefiles/dirstate")
diff --git a/tests/test-largefiles-small-disk.t b/tests/test-largefiles-small-disk.t
--- a/tests/test-largefiles-small-disk.t
+++ b/tests/test-largefiles-small-disk.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
Test how largefiles abort in case the disk runs full
$ cat > criple.py <<EOF
diff --git a/tests/test-largefiles-misc.t b/tests/test-largefiles-misc.t
--- a/tests/test-largefiles-misc.t
+++ b/tests/test-largefiles-misc.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
This file contains testcases that tend to be related to special cases or less
common commands affecting largefile.
diff --git a/tests/test-largefiles-cache.t b/tests/test-largefiles-cache.t
--- a/tests/test-largefiles-cache.t
+++ b/tests/test-largefiles-cache.t
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
Create user cache directory
$ USERCACHE=`pwd`/cache; export USERCACHE
To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list