From 85e32e5a51f72dc2636f697bb63ff8503cc6af40 Mon Sep 17 00:00:00 2001 From: Yan Couto Date: Sun, 5 Nov 2017 11:07:04 -0200 Subject: [PATCH] Fixing test and explaining directory --- tests/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/README.md b/tests/README.md index fd32925c4..585dcdfe9 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,6 +1,6 @@ # Tests -## Why to run the tests +## Why to run tests Running these tests will make sure that crew is working correctly, or explain the problem if it's not. @@ -8,9 +8,9 @@ Running these tests will make sure that crew is working correctly, or explain th The tests can be used at any time to help with developing, but make sure to run them before submitting a Pull Request. -## How to run the tests +## How to run tests -Execute `ruby test_all`. If all tests pass, it will print `All tests successful.`, otherwise it will show what went wrong. +Execute `ruby test_all` from this directory (`tests/`). If all tests pass, it will print `All tests successful.`, otherwise it will show what went wrong. Running tests manually may not work! @@ -32,5 +32,6 @@ if pkg.dependencies and pkg.dependencies.has_key?('gcc') then puts "Everything works properly.".lightgreen else puts "Buildessential should depend on gcc!".lightred + exit 1 end ```