< prev index next >

tools/scripts/whatChanged

Print this page
rev 10911 : 8198329: Support FX build / test using JDK that doesn't include javafx.* modules
Reviewed-by:
   1 #!/bin/bash
   2 #
   3 # a script to identify what changed in out output tree between builds
   4 # Run from the top of the tree (./rt)
   5 # The first time, sum files will be created in HASHDIR.
   6 # each time after,
   7 #  the output files that have changed sums will be listed
   8 #  and then the sums files will be updated.
   9 #
  10 


  11 TOP="$PWD"
  12 BLDTOP="${TOP}/build"
  13 HASHDIR="$BLDTOP/hashes"
  14 HASHTMP="${HASHDIR}/tmp"
  15 
  16 # If blank - will not update the hashes files, allowing reruns for debugging
  17 COMMITNEW='yes'
  18 
  19 USESUM='find * -type f -print0 | xargs --null md5sum | sort'
  20 CYGPATH=''
  21 platform=''
  22 case "`uname`" in
  23     Darwin*) 
  24         platform='mac'
  25         USESUM='find * -type f -print0 | xargs -0 md5 -r | sort'
  26         ;;
  27     CYGWIN*) 
  28         platform='cygwin'
  29         CYGPATH="cygpath -m"
  30         ;;


   1 #!/bin/bash
   2 #
   3 # a script to identify what changed in out output tree between builds
   4 # Run from the top of the tree (./rt)
   5 # The first time, sum files will be created in HASHDIR.
   6 # each time after,
   7 #  the output files that have changed sums will be listed
   8 #  and then the sums files will be updated.
   9 #
  10 
  11 # TODO KCR: update this to also compare standalone sdk
  12 
  13 TOP="$PWD"
  14 BLDTOP="${TOP}/build"
  15 HASHDIR="$BLDTOP/hashes"
  16 HASHTMP="${HASHDIR}/tmp"
  17 
  18 # If blank - will not update the hashes files, allowing reruns for debugging
  19 COMMITNEW='yes'
  20 
  21 USESUM='find * -type f -print0 | xargs --null md5sum | sort'
  22 CYGPATH=''
  23 platform=''
  24 case "`uname`" in
  25     Darwin*) 
  26         platform='mac'
  27         USESUM='find * -type f -print0 | xargs -0 md5 -r | sort'
  28         ;;
  29     CYGWIN*) 
  30         platform='cygwin'
  31         CYGPATH="cygpath -m"
  32         ;;


< prev index next >