Scala 2.11.12
PostgreSQL JDBC Driver postgresql-42.2.22
openmodbat-3.2
Compile: scalac -cp openmodbat-3.2.jar ModelTemplate.scala dbSim.scala
Run: scala -cp postgresql-42.2.22.jar:.: openmodbat-3.2.jar --classpath=. modbat.ModelTemplate -n=100
- tar xvfz postgresql-10.5.tar.gz
- cd postgresql-10.5
- ./configure --prefix=postgresql-10.5
- make
- make install
- mkdir data
- postgresql-10.5/bin/initdb -D /Users/Username/Desktop/postgresql-10.5/data
- postgresql-10.5/bin/pg_ctl -D /Users/Username/Desktop/postgresql-10.5/data -l logfile start
- postgresql-10.5/bin/createdb test
10.postgresql-10.5/bin/psql test - make installcheck
./configure --enable-coverage --prefix=postgresql-10.5
make check # or other test suite
make coverage-html
To reset the execution counts between test runs, run:
make coverage-clean
scala -cp postgresql-42.2.22.jar:.: openmodbat-3.2.jar --classpath=. --mode=dot modbat.ModelTemplate