diff --git a/scripts/testing/ReadMe.md b/scripts/testing/ReadMe.md deleted file mode 100644 index 420925f..0000000 --- a/scripts/testing/ReadMe.md +++ /dev/null @@ -1,11 +0,0 @@ -# Prepare VM - -```bash -./scripts/testing/prepare-vm-for-testing.sh -``` - -# Run Testing - -```bash -./scripts/testing/run-test.sh -``` diff --git a/scripts/testing/install-dependencies-for-tests.sh b/scripts/testing/install-dependencies-for-tests.sh deleted file mode 100644 index 637aed8..0000000 --- a/scripts/testing/install-dependencies-for-tests.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -yes '' | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -echo "export PATH=/usr/local/bin:$PATH" >> ~/.profile - -brew update -brew install node@8 -brew link --force node@8 \ No newline at end of file diff --git a/scripts/testing/prepare-vm-for-testing.sh b/scripts/testing/prepare-vm-for-testing.sh deleted file mode 100755 index e4089cb..0000000 --- a/scripts/testing/prepare-vm-for-testing.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -e - -ANKA_VERSION=$(anka version | egrep -o '([0-9].)+[0-9]') - -echo "Creating high-sierra-perf-$ANKA_VERSION VM for testing..." -#anka create --ram-size 4G --cpu-count 2 --disk-size 60G --app /Applications/Install\ macOS\ High\ Sierra.app high-sierra-perf-$ANKA_VERSION -anka run --volume $PWD/scripts/testing high-sierra-perf-$ANKA_VERSION bash install-dependencies-for-tests.sh \ No newline at end of file diff --git a/scripts/testing/run-performance-test.sh b/scripts/testing/run-performance-test.sh deleted file mode 100755 index 16af43f..0000000 --- a/scripts/testing/run-performance-test.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -ANKA_VERSION=$(anka version | egrep -o '([0-9].)+[0-9]') - -time anka run --volume $PWD/scripts/testing/volume high-sierra-perf-$ANKA_VERSION ./performance-test.sh \ No newline at end of file diff --git a/scripts/testing/volume/performance-test.sh b/scripts/testing/volume/performance-test.sh deleted file mode 100755 index 32fcdb8..0000000 --- a/scripts/testing/volume/performance-test.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -set -e - -mkdir -p puppeteer -rm -rf puppeteer -git clone https://github.com/GoogleChrome/puppeteer.git - -cd puppeteer -npm install --unsafe-perm -npm run lint -npm run coverage -npm run test-doclint - -cd .. -rm -rf puppeteer \ No newline at end of file