Author: sebastien.lelong
Date: Wed Nov 12 13:07:13 2008
New Revision: 537

Modified:
    trunk/tools/build/compile.sh
    trunk/tools/build/validate.sh

Log:
build a list of validated/compiled files in the report

Modified: trunk/tools/build/compile.sh
==============================================================================
--- trunk/tools/build/compile.sh        (original)
+++ trunk/tools/build/compile.sh        Wed Nov 12 13:07:13 2008
@@ -13,6 +13,7 @@
  counter=0

  echo "" > /tmp/compile.out
+echo "" > /tmp/compile.failed

  for sample in $jalsamples
  do
@@ -23,6 +24,7 @@
                echo -- jalv2 output -- >> /tmp/compile.out
                cat /tmp/tmpcomp.out >> /tmp/compile.out
                echo -- -- -- >> /tmp/compile.out
+               echo `basename $sample` >> /tmp/compile.failed
                at_least_one_failed=1
                counter=`expr $counter + 1`
        fi
@@ -33,7 +35,11 @@
        echo "All samples compile :)"
  else
        echo "$counter samples can't be compiled..."
+       echo List:
+       cat /tmp/compile.failed
        echo
+       echo
+       echo Details:
        cat /tmp/compile.out
        echo
  fi

Modified: trunk/tools/build/validate.sh
==============================================================================
--- trunk/tools/build/validate.sh       (original)
+++ trunk/tools/build/validate.sh       Wed Nov 12 13:07:13 2008
@@ -15,6 +15,7 @@
  counter=0

  echo "" > /tmp/validate.out
+echo "" > /tmp/validate.failed

  for jalfile in `echo $jalsamples $jallibs`
  do
@@ -26,6 +27,7 @@
                cat /tmp/tmpval.out >> /tmp/validate.out
                echo -- -- -- >> /tmp/validate.out
                echo >> /tmp/validate.out
+               echo `basename $jalfile` >> /tmp/validate.failed
                at_least_one_failed=1
                counter=`expr $counter + 1`             
        fi
@@ -36,7 +38,11 @@
        echo "All files validated :)"
  else
        echo "$counter files can't be validated..."
+       echo List:
+       cat /tmp/validate.failed
        echo
+       echo
+       echo Details:
        cat /tmp/validate.out
        echo
  fi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to