config.sh 899 B

1234567891011121314151617181920212223242526272829303132333435
  1. ##
  2. ## Midnight commander testfarm config
  3. ##
  4. ## Directory where the master repository is held
  5. TESTFARM_REPO_DIR=___repo.git
  6. ## Parent directory of the build dirs
  7. TESTFARM_BUILD_ROOT=`pwd`/__build
  8. ## --prefix parameter
  9. TESTFARM_CF_PREFIX=~/.usr/mc-testing.$ID
  10. ## (temporary) local branchname for checkout
  11. TESTFARM_LOCALBRANCH="__testing"
  12. ## Output directory for build logs
  13. TESTFARM_OUTPUT_DIR=`pwd`/out/$ID
  14. ## Where the option files come from
  15. TESTFARM_OPT_DIR=`pwd`/opts
  16. ## Root directory for DESTDIR install test
  17. TESTFARM_DESTDIR_ROOT=`pwd`/__install
  18. ## Set to "yes" if logs of succeeded builds should be removed automatically
  19. TESTFARM_REMOVE_SUCCESS_LOGS="yes"
  20. ## local configuration
  21. if [ "$TESTFARM_CFLAGS" ]; then
  22. export CFLAGS="$TESTFARM_CFLAGS"
  23. else
  24. export CFLAGS="$CFLAGS -O -Wwrite-strings -Wempty-body"
  25. # export CFLAGS="$CFLAGS -O -Wwrite-strings -Wempty-body -Werror"
  26. fi