Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:43

0001 #!/bin/bash
0002 
0003 files="$@"
0004 
0005 if [ -z "$files" ]; then
0006     files=$(find Tests -name "*.hpp" -or -name "*.cpp" -or -name "*.ipp")
0007 fi
0008 
0009 test_string="BOOST_TEST("
0010 
0011 ec=0
0012 for file in $files; do
0013   grep -n "$test_string" "$file"
0014   status=$?
0015   if [ $status -ne 1 ]; then
0016     echo "Found occurrences of '$test_string' in '$file'"
0017     ec=1
0018   fi
0019 done
0020 
0021 exit $ec