From dcab690bd273f74f731b7bd1858d093149a9d32e Mon Sep 17 00:00:00 2001
From: akashk4 <akashk4@illinois.edu>
Date: Tue, 28 Jan 2020 21:04:01 -0600
Subject: [PATCH] Fix errors in automate_tests.sh

---
 hpvm/scripts/automate_tests.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hpvm/scripts/automate_tests.sh b/hpvm/scripts/automate_tests.sh
index e3b63dba82..517f66ad3e 100644
--- a/hpvm/scripts/automate_tests.sh
+++ b/hpvm/scripts/automate_tests.sh
@@ -2,9 +2,9 @@
 
 CURRENT_DIR=`pwd`
 BUILD_DIR=$CURRENT_DIR/build
-HPVM_RT=hpvm-rt/hpvmrt.bc
+HPVM_RT=hpvm-rt/hpvm-rt.bc
 
-if [ -x $BUILD_DIR/tools/hpvm/projects/$HPVM_RT ]; then
+if [ -f $BUILD_DIR/tools/hpvm/projects/$HPVM_RT ]; then
     true
 else
     echo HPVM not installed! Exiting without running tests!.
-- 
GitLab