summaryrefslogtreecommitdiffstats
path: root/memtestEDK/Memtest/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'memtestEDK/Memtest/run.sh')
-rwxr-xr-xmemtestEDK/Memtest/run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/memtestEDK/Memtest/run.sh b/memtestEDK/Memtest/run.sh
new file mode 100755
index 0000000..f9a3f01
--- /dev/null
+++ b/memtestEDK/Memtest/run.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+(cd ..;. edksetup.sh BaseTools; build -a X64 -p MdeModulePkg/MdeModulePkg.dsc)
+
+if [ $? -ne 0 ]; then exit 1; fi
+(cd ..; cp Build/MdeModule/DEBUG_GCC5/X64/GetRootSystemDescriptionPointer.efi ../../git/working_dir/memtest86/test_code/hda-contents/)
+
+if [ $? -ne 0 ]; then exit 1; fi
+(cd ../../../git/working_dir/memtest86/test_code; sudo ./run.sh )
+