Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/test/sanity/scripts/run-macOS.sh
5241 views
1
#!/bin/sh
2
set -e
3
4
echo "System: $(uname -s) $(uname -r) $(uname -m)"
5
echo "Memory: $(( $(sysctl -n hw.memsize) / 1024 / 1024 / 1024 )) GB"
6
echo "Disk: $(df -h / | awk 'NR==2 {print $2 " total, " $3 " used, " $4 " available"}')"
7
8
echo "Installing Playwright WebKit browser"
9
npx playwright install --with-deps webkit
10
11
echo "Running sanity tests"
12
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
13
node "$SCRIPT_DIR/../out/index.js" $@
14
15