From b8cec0a00e63ac0fc14cdb83385edcc4362c2733 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 1 Apr 2016 20:46:24 -0700 Subject: [PATCH] Remove deprecated xunit.sh script --- xunit.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 xunit.sh diff --git a/xunit.sh b/xunit.sh deleted file mode 100755 index 199737330..000000000 --- a/xunit.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Test for build dependencies -hash cmake 2>/dev/null || { echo >&2 "No cmake, please run 'sudo apt-get install cmake'"; exit 1; } -hash g++ 2>/dev/null || { echo >&2 "No g++, please run 'sudo apt-get install g++'"; exit 1; } -hash dotnet 2>/dev/null || { echo >&2 "No dotnet, please visit https://dotnet.github.io/getting-started/"; exit 1; } - -# Test for lock file -test -r test/csharp/project.lock.json || { echo >&2 "Please run 'dotnet restore' to download .NET Core packages"; exit 2; } - -# Run xUnit tests -pushd test/csharp -## Build -dotnet build -c Linux -## Work-around dotnet/cli#753 -cp -r -f ../../src/Microsoft.PowerShell.Host/{Modules,*.so,*.dylib} bin/Linux/netstandardapp1.5/ubuntu.14.04-x64 2>/dev/null -## Test -dotnet test -c Linux -result=$? -popd - -exit $result