data race detection tool

Is there an easy way to inquire whether any error has been detected?It would be nice if in a makefile this would be possible:rdt -check race.er echo $?regards,Dieter
[207 byte] By [SunHPC] at [2007-11-26 9:09:40]
# 1
Not sure if there is an easy yes/no feature. (Someone else will answer), but if there isn't then a workaround would be to run"er_print -something | grep -something" and check the return value.
ChrisQuenelle at 2007-7-6 23:27:43 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Yes, that's would I just programmed.

So I am answering my own stupid question with this little script called check_races

#!/bin/ksh

rc=$(echo races | er_print $1 2> /dev/null | grep 'Total Races: 0' > /dev/null 2>&1 )

return $rc

and then in the Makefile:

check_races races.er || rdt races.er

Thanks

Dieter

SunHPC at 2007-7-6 23:27:43 > top of Java-index,Development Tools,Solaris and Linux Development Tools...