Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Compiler messages not showing #40

Open
wants to merge 1 commit into
base: Version-1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tester/tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,12 @@ if [ "$EXT" = "c" ] || [ "$EXT" = "cpp" ]; then
while read line; do
if [ "`echo $line|cut -d: -f1`" = "code.c" ]; then
echo ${line#code.c:} >>cerr2
fi
if [ "`echo $line|cut -d: -f1`" = "shield.c" ]; then
elif [ "`echo $line|cut -d: -f1`" = "shield.c" ]; then
echo ${line#shield.c:} >>cerr2
fi
if [ "`echo $line|cut -d: -f1`" = "shield.cpp" ]; then
elif [ "`echo $line|cut -d: -f1`" = "shield.cpp" ]; then
echo ${line#shield.cpp:} >>cerr2
else
echo ${line} >>cerr2
fi
done <cerr
(cat cerr2 | head -10 | sed 's/themainmainfunction/main/g' ) > cerr;
Expand Down