challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

4-test.sh (338B)


      1 #!/bin/bash
      2 set -evux
      3 
      4 check_command()
      5 {
      6 	# Set LD_LIBRARY_PATH so tests can find the installed libs
      7 	LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/taler:/usr/lib:/usr/lib/taler PGPORT=5432 make check
      8 }
      9 
     10 print_logs()
     11 {
     12   set +e
     13 	echo "Printing meson log"
     14   cat build/meson-logs/testlog.txt
     15 }
     16 
     17 if ! check_command ; then
     18 	print_logs
     19 	exit 1
     20 fi