Menu

[r747]: / tests / ACCEPT / testfpc  Maximize  Restore  History

Download this file

19 lines (17 with data), 397 Bytes

#!/bin/bash echo Running acceptance tests for free pascal rm fpc.txt rm fpc.log echo compiler output of all $1 tests will be in $1.log echo program output will go to the consol and to $1.txt for file in *.pas do base=$(echo $file | cut -f 1 -d '.') echo $base echo compile $base >> fpc.log time fpc $file >>fpc.log echo execute $base >> fpc.txt $base >> fpc.txt $base rm $base done 
MongoDB Logo MongoDB