ufront / ufront-orm

The Object Relational Mapper, allows easy, type-safe access to your database. Builds on Haxe's SPOD but adds macro powered relationships, validation and client side usage
MIT License
13 stars 4 forks source link

Add env variables for mysql settings in tests #16

Closed theRemix closed 9 years ago

theRemix commented 9 years ago

environment variables and their defaults are:

MYSQL_HOST : localhost
MYSQL_PORT : 3306
MYSQL_USER : root
MYSQL_PASSWORD : root
MYSQL_DATABASE : ufrontormtest

ex:

MYSQL_HOST="localhost" MYSQL_PORT="3306" MYSQL_USER="admin" MYSQL_PASSWORD="goodpassword" MYSQL_DATABASE="ufront_orm" ./testAll.sh

this merge also includes a minor refactoring of testAll.sh
to add $HAXE_COMPILER_PORT

jasononeil commented 9 years ago

Good thinking. Sorry I didn't see this easlier.