"Fossies" - the Fresh Open Source Software Archive

Member "detox-1.4.5/tests/build.sh" (15 Aug 2021, 342 Bytes) of package /linux/privat/detox-1.4.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/env bash
    2 
    3 set -ex
    4 
    5 # set up working dir
    6 
    7 WORK="/tmp/detox-build-test-$RANDOM"
    8 mkdir $WORK
    9 cd $WORK
   10 
   11 # git
   12 
   13 git clone -b 1.x https://github.com/dharple/detox
   14 cd detox
   15 
   16 # configure
   17 
   18 autoreconf --install
   19 ./configure
   20 
   21 # make
   22 
   23 make
   24 
   25 # tests
   26 
   27 src/detox -V
   28 tests/test.sh src/detox
   29 
   30 # distcheck
   31 
   32 make distcheck
   33 
   34 # cleanup
   35 
   36 cd
   37 rm -rf $WORK