From 61dbb675c557bdb88f8cc6bad563433b29086dc7 Mon Sep 17 00:00:00 2001 From: TomPallister Date: Thu, 22 Sep 2016 20:52:37 +0100 Subject: [PATCH] Changed scripts so acceptance tests pass when you run them from root --- build.sh | 6 ++++-- run-tests.sh | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 0544184ed..1f04f5618 100755 --- a/build.sh +++ b/build.sh @@ -8,8 +8,10 @@ dotnet test test/Ocelot.UnitTests/ echo Running Ocelot.AcceptanceTests -dotnet restore test/Ocelot.AcceptanceTests/ -dotnet test test/Ocelot.AcceptanceTests/ +cd test/Ocelot.AcceptanceTests/ +dotnet restore +dotnet test +cd ../../ echo Building Ocelot diff --git a/run-tests.sh b/run-tests.sh index c79221736..c2a65fc76 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,8 @@ dotnet test test/Ocelot.UnitTests/ echo Running Ocelot.AcceptanceTests -dotnet restore test/Ocelot.AcceptanceTests/ -dotnet test test/Ocelot.AcceptanceTests/ - +cd test/Ocelot.AcceptanceTests/ +dotnet restore +dotnet test +cd ../../