changeset 37348:f4e84dfc06fd

tests: skip largefiles and lfs tests when using simple store Getting these tests to pass is more work than it is worth right now. Let's punt on it. Differential Revision: https://phab.mercurial-scm.org/D3063
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 03 Apr 2018 14:24:14 -0700
parents e82a59bfc5e8
children 36b2a304216c
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
diffstat 13 files changed, 23 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-largefiles-cache.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles-cache.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 Create user cache directory
 
   $ USERCACHE=`pwd`/cache; export USERCACHE
--- a/tests/test-largefiles-misc.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles-misc.t	Tue Apr 03 14:24:14 2018 -0700
@@ -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.
 
--- a/tests/test-largefiles-small-disk.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles-small-disk.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 Test how largefiles abort in case the disk runs full
 
   $ cat > criple.py <<EOF
--- a/tests/test-largefiles-update.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles-update.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 This file focuses mainly on updating largefiles in the working
 directory (and ".hg/largefiles/dirstate")
 
--- a/tests/test-largefiles-wireproto.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles-wireproto.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 #testcases sshv1 sshv2
 
 #if sshv2
--- a/tests/test-largefiles.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-largefiles.t	Tue Apr 03 14:24:14 2018 -0700
@@ -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.
 
--- a/tests/test-lfconvert.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfconvert.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
   $ USERCACHE="$TESTTMP/cache"; export USERCACHE
   $ mkdir "${USERCACHE}"
   $ cat >> $HGRCPATH <<EOF
--- a/tests/test-lfs-bundle.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs-bundle.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 In this test, we want to test LFS bundle application on both LFS and non-LFS
 repos.
 
--- a/tests/test-lfs-largefiles.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs-largefiles.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 This tests the interaction between the largefiles and lfs extensions, and
 conversion from largefiles -> lfs.
 
--- a/tests/test-lfs-serve-access.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs-serve-access.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,4 +1,4 @@
-#require serve
+#require serve no-reposimplestore
 
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
--- a/tests/test-lfs-serve.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs-serve.t	Tue Apr 03 14:24:14 2018 -0700
@@ -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"
--- a/tests/test-lfs-test-server.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs-test-server.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,4 @@
+#require no-reposimplestore
 #testcases git-server hg-server
 
 #if git-server
--- a/tests/test-lfs.t	Tue Apr 03 18:23:33 2018 -0700
+++ b/tests/test-lfs.t	Tue Apr 03 14:24:14 2018 -0700
@@ -1,3 +1,5 @@
+#require no-reposimplestore
+
 # Initial setup
 
   $ cat >> $HGRCPATH << EOF