die if --results_root_dir is not specified.

BUG=chromium:598375
TEST=manual

Change-Id: I5d9b0d9806585d209912305028c0807d25117a8b
Reviewed-on: https://chromium-review.googlesource.com/335630
Commit-Ready: Achuith Bhandarkar <achuith@chromium.org>
Tested-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
diff --git a/cros_run_vm_test b/cros_run_vm_test
index 192883d..6f6bd6a 100755
--- a/cros_run_vm_test
+++ b/cros_run_vm_test
@@ -56,6 +56,10 @@
   die "You must specify a test case."
 fi
 
+if [ -z "${FLAGS_results_dir_root}" ]; then
+  die "You must specify a directory for results (--results_dir_root)."
+fi
+
 test_args=( )
 tests_lists=( )
 if [[ ${FLAGS_use_emerged} -eq ${FLAGS_TRUE} ]]; then