Skip to content

Commit

Permalink
Changed scripts so acceptance tests pass when you run them from root
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPallister committed Sep 22, 2016
1 parent 741fcc6 commit 61dbb67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../

0 comments on commit 61dbb67

Please sign in to comment.