(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / Microsoft.VisualBasic / Test / standalone / execute.sh
blob6f1c6478d6fbaa758b62b81dce1a2fc2cb1a843a
1 # Authors:
2 # Roopa Wilson (rowilson@novell.com)
4 #This script executes the exe files and displays the results in a web page
6 echo "" > exec_log_linux.html
8 echo "<html><head><title> Execution Results in Linux</title></head><body><h4>Execution Results in Linux</h4><table border=1><th>S.No</th><th>Test Case</th><th>Result</th>" 2>&1 >> exec_log_linux.html 2>&1
10 count=1;
11 for file in *.exe
13 echo Executing $file...
14 echo "<tr><td>$count</td>" 2>&1 >> exec_log_linux.html 2>&1
15 mono $file
16 if [ $? -eq 0 ]
17 then echo "<td>$file</td><td>Executed OK</td></tr>" 2>&1 >> exec_log_linux.html 2>&1
18 else
19 echo "<td>$file</td><td>Execution Failed</td></tr>" 2>&1 >> exec_log_linux.html 2>&1
21 count=`expr $count + 1`
22 done
24 echo "</table></body></html>" 2>&1 >> exec_log_linux.html 2>&1