Add more documentation to Builds/Test.py.

This commit is contained in:
Tom Ritchford
2015-07-31 17:17:05 -04:00
committed by Nik Bougalis
parent e759137f15
commit d166e6a45e

View File

@@ -17,18 +17,29 @@
""" """
Invocation: Invocation:
./Builds/Test.py - builds and tests all configurations
# ./Builds/Test.py - builds and tests all configurations
# The build must succeed without shell aliases for this to work.
# The build must succeed without shell aliases for this to work.
# Common problems:
# 1) Boost not found. Solution: export BOOST_ROOT=[path to boost folder] To pass flags to scons, put them at the very end of the command line, after
# 2) OpenSSL not found. Solution: export OPENSSL_ROOT=[path to OpenSSL folder] the -- flag - like this:
# 3) scons is an alias. Solution: Create a script named "scons" somewhere in
# your $PATH (eg. ~/bin/scons will often work). ./Builds/Test.py -- -j4 # Pass -j4 to scons.
# #!/bin/sh
# python /C/Python27/Scripts/scons.py "${@}"
Common problems:
1) Boost not found. Solution: export BOOST_ROOT=[path to boost folder]
2) OpenSSL not found. Solution: export OPENSSL_ROOT=[path to OpenSSL folder]
3) scons is an alias. Solution: Create a script named "scons" somewhere in
your $PATH (eg. ~/bin/scons will often work).
#!/bin/sh
python /C/Python27/Scripts/scons.py "${@}"
""" """
from __future__ import absolute_import, division, print_function, unicode_literals from __future__ import absolute_import, division, print_function, unicode_literals