Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
531 B

  1. #!/bin/sh
  2. # This script does a full build and check. Outputs are saved to files
  3. # BUILD. and CHECK. with the git version appended. The point is that
  4. # having regression test output from old versions is handy when
  5. # trouble arises.
  6. # This script should be run from the top-level directory.
  7. if [ ! -f gpsd.c ]; then
  8. echo "do-build: not at top-level of gpsd"
  9. exit 1
  10. fi
  11. version=`git describe`
  12. scons -c < /dev/null > /dev/null 2>&1
  13. scons $* < /dev/null > BUILD.$version 2>&1
  14. scons check < /dev/null > CHECK.$version 2>&1