diff --git a/repo-scripts/make-reference b/repo-scripts/make-reference index 25b932ea2ac281cee8847e2296fd525c15d69f61_cmVwby1zY3JpcHRzL21ha2UtcmVmZXJlbmNl..426cf7bf08ed74598c7c165096a70a52ff98b633_cmVwby1zY3JpcHRzL21ha2UtcmVmZXJlbmNl 100755 --- a/repo-scripts/make-reference +++ b/repo-scripts/make-reference @@ -17,7 +17,7 @@ repo_id="$2" repo_main="${repo_id}"-reference -repo_details="${repo_id}".yaml +repo_details="${repo_id}".benchrepo repo_tarball="${repo_id}"-reference.tar ### initial clone diff --git a/tests/test-make-partials.t b/tests/test-make-partials.t index 25b932ea2ac281cee8847e2296fd525c15d69f61_dGVzdHMvdGVzdC1tYWtlLXBhcnRpYWxzLnQ=..426cf7bf08ed74598c7c165096a70a52ff98b633_dGVzdHMvdGVzdC1tYWtlLXBhcnRpYWxzLnQ= 100644 --- a/tests/test-make-partials.t +++ b/tests/test-make-partials.t @@ -50,7 +50,7 @@ $ mkdir partials-one $ cd partials-one - $ make-partial-repos ../p-config.yaml ../local-references/repo4test_A.yaml + $ make-partial-repos ../p-config.yaml ../local-references/repo4test_A.benchrepo Cloning repo4test_A (../local-references/repo4test_A-reference stripped of last(all(), 10)) into ./repo4test_A-partial-missing-last-10 (for exchange benchmarks) Cloning repo4test_A (../local-references/repo4test_A-reference stripped of None) into ./repo4test_A-partial-same (for exchange benchmarks) $ ls -1 @@ -73,7 +73,7 @@ $ mkdir partials-multiple $ cd partials-multiple - $ make-partial-repos ../p-config.yaml ../local-references/repo4test_A.yaml ../local-references/repo4test_B.yaml + $ make-partial-repos ../p-config.yaml ../local-references/*.benchrepo Cloning repo4test_A (../local-references/repo4test_A-reference stripped of last(all(), 10)) into ./repo4test_A-partial-missing-last-10 (for exchange benchmarks) Cloning repo4test_A (../local-references/repo4test_A-reference stripped of None) into ./repo4test_A-partial-same (for exchange benchmarks) Cloning repo4test_B (../local-references/repo4test_B-reference stripped of last(all(), 10)) into ./repo4test_B-partial-missing-last-10 (for exchange benchmarks) @@ -93,5 +93,5 @@ $ mkdir partials-disabled $ cd partials-disabled - $ grep enabled ../local-references/repo4test_A.yaml + $ grep enabled ../local-references/repo4test_A.benchrepo enabled: Yes @@ -97,4 +97,4 @@ enabled: Yes - $ sed -i 's/enabled: Yes/enabled: No/' ../local-references/repo4test_A.yaml - $ grep enabled ../local-references/repo4test_A.yaml + $ sed -i 's/enabled: Yes/enabled: No/' ../local-references/repo4test_A.benchrepo + $ grep enabled ../local-references/repo4test_A.benchrepo enabled: No @@ -100,8 +100,8 @@ enabled: No - $ make-partial-repos ../p-config.yaml ../local-references/repo4test_A.yaml ../local-references/repo4test_B.yaml + $ make-partial-repos ../p-config.yaml ../local-references/*.benchrepo skipping disabled reference repository: repo4test_A Cloning repo4test_B (../local-references/repo4test_B-reference stripped of last(all(), 10)) into ./repo4test_B-partial-missing-last-10 (for exchange benchmarks) Cloning repo4test_B (../local-references/repo4test_B-reference stripped of None) into ./repo4test_B-partial-same (for exchange benchmarks) $ ls -1 repo4test_B-partial-missing-last-10 repo4test_B-partial-same @@ -102,11 +102,11 @@ skipping disabled reference repository: repo4test_A Cloning repo4test_B (../local-references/repo4test_B-reference stripped of last(all(), 10)) into ./repo4test_B-partial-missing-last-10 (for exchange benchmarks) Cloning repo4test_B (../local-references/repo4test_B-reference stripped of None) into ./repo4test_B-partial-same (for exchange benchmarks) $ ls -1 repo4test_B-partial-missing-last-10 repo4test_B-partial-same - $ sed -i 's/enabled: Non/enabled: Yes/' ../local-references/repo4test_A.yaml - $ grep enabled ../local-references/repo4test_A.yaml + $ sed -i 's/enabled: Non/enabled: Yes/' ../local-references/repo4test_A.benchrepo + $ grep enabled ../local-references/repo4test_A.benchrepo enabled: No $ cd .. diff --git a/tests/test-make-reference.t b/tests/test-make-reference.t index 25b932ea2ac281cee8847e2296fd525c15d69f61_dGVzdHMvdGVzdC1tYWtlLXJlZmVyZW5jZS50..426cf7bf08ed74598c7c165096a70a52ff98b633_dGVzdHMvdGVzdC1tYWtlLXJlZmVyZW5jZS50 100644 --- a/tests/test-make-reference.t +++ b/tests/test-make-reference.t @@ -33,5 +33,5 @@ $ ls -1 my-reference-reference my-reference-reference.tar - my-reference.yaml + my-reference.benchrepo some-dir @@ -37,5 +37,5 @@ some-dir - $ cat my-reference.yaml + $ cat my-reference.benchrepo reference-repo: id: my-reference enabled: Yes @@ -54,7 +54,7 @@ Call with existing data ----------------- - $ rm -rf my-reference.yaml my-reference.tar + $ rm -rf my-reference.benchrepo my-reference.tar $ make-reference some-dir/my-source-repo my-reference target repo already exists, skipping clone (make sure this was clone with the right version) @@ -63,5 +63,5 @@ $ ls -1 my-reference-reference my-reference-reference.tar - my-reference.yaml + my-reference.benchrepo some-dir @@ -67,5 +67,5 @@ some-dir - $ cat my-reference.yaml + $ cat my-reference.benchrepo reference-repo: id: my-reference enabled: Yes @@ -81,7 +81,7 @@ visible: 1 all: 1 $ tar tf my-reference-reference.tar - my-reference.yaml + my-reference.benchrepo my-reference-reference/ my-reference-reference/.hg/ my-reference-reference/.hg/requires