aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe')
-rw-r--r--crates/shirabe/tests/installer_test.rs3
-rwxr-xr-xcrates/shirabe/tests/plugin/fixtures/e2e-installers/fetch1
-rwxr-xr-xcrates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch1
-rwxr-xr-xcrates/shirabe/tests/plugin/fixtures/e2e/fetch1
4 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/tests/installer_test.rs b/crates/shirabe/tests/installer_test.rs
index 6907758c..922fbd45 100644
--- a/crates/shirabe/tests/installer_test.rs
+++ b/crates/shirabe/tests/installer_test.rs
@@ -376,6 +376,7 @@ fn make_packages_comparable(
#[test]
#[serial]
fn test_installer() {
+ bootstrap::bootstrap();
let _tear_down = TearDown::new();
for case in provide_installer() {
@@ -842,6 +843,8 @@ fn write_json(path: &std::path::Path, value: &serde_json::Value) {
/// ref: InstallerTest::doTestIntegration
fn do_test_integration(case: &IntegrationCase, expect_output: Option<&str>) {
+ bootstrap::bootstrap();
+
if let Some(condition) = &case.condition
&& !evaluate_condition(condition)
{
diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch b/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch
index a00d9a07..ca7fa167 100755
--- a/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch
+++ b/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch
@@ -18,7 +18,6 @@ ext="$(dirname "$0")/ext"
dir="$ext/composer-installers-2.3.0"
if [ -f "$dir/src/Composer/Installers/Installer.php" ]; then
- echo "already fetched: $dir"
exit 0
fi
diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch b/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch
index 7fb7cd5a..9a7ea827 100755
--- a/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch
+++ b/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch
@@ -16,7 +16,6 @@ tree_hash() {
while read -r dir repo commit hash; do
target="$base/$dir"
if [ -d "$target" ]; then
- echo "already fetched: $target"
continue
fi
mkdir -p "$target"
diff --git a/crates/shirabe/tests/plugin/fixtures/e2e/fetch b/crates/shirabe/tests/plugin/fixtures/e2e/fetch
index a4179955..a7adcb75 100755
--- a/crates/shirabe/tests/plugin/fixtures/e2e/fetch
+++ b/crates/shirabe/tests/plugin/fixtures/e2e/fetch
@@ -11,7 +11,6 @@ commit=85e90b3942d06b2326fba0403ec24fe912372936
dir="$(dirname "$0")/ext/phpstan-extension-installer-1.4.3"
if [ -f "$dir/src/Plugin.php" ]; then
- echo "already fetched: $dir"
exit 0
fi