From 6108d636b581523d7ff6f1c066ffdb54e5f03c38 Mon Sep 17 00:00:00 2001 From: Mark Ryan Date: Thu, 3 Nov 2016 09:29:21 +0000 Subject: [PATCH] bat: Mention Single VM in the README Update the README.md file to mention that the BAT tests can be run with Single VM and that if you are using Single VM you can initialise all the necessary environment variables by sourcing ~/local/demo.sh Signed-off-by: Mark Ryan --- _release/bat/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/_release/bat/README.md b/_release/bat/README.md index 2c6a28cb9..86f7ebc00 100644 --- a/_release/bat/README.md +++ b/_release/bat/README.md @@ -18,6 +18,11 @@ existing test case runner, test-cases. ## Set up +The BAT tests require a running ciao cluster to execute. This can be a +full ciao cluster running on hundreds of nodes or a Single VM ciao cluster +running on a single machine. For more information about Single VM see +(here)[https://github.com/01org/ciao/wiki/Single-Machine-Development-Environment]. + The BAT tests require that certain environment variables have been set before they can be run: @@ -28,6 +33,15 @@ can be run: * "CIAO_ADMIN_USERNAME" - your cluster admin user name * "CIAO_ADMIN_PASSWORD" - your cluster admin password. +Note if you are using Single VM a script will be created for you called +~/local/demo.sh that initialises these variables to their correct +values for the Single VM cluster. You just need to source this file +before running the tests, e.g., + +``` +. ~/local/demo.sh +``` + ## Running all the BAT tests ```