Feb 2020 workshop at CUT in Bloemfontein, South Africa
Installation in Git bash:
git clone https://github.com/cyrille-artho/modbat.git
cd modbat
./gradlew assemble
cd src/test/scala/modbat/tutorial
How to configure the environment in the CUT computer labs using Git bash:
mkdir ~/jpf
cd ~/jpf
git clone https://github.com/javapathfinder/jpf-core.git
cd jpf-core
git show 46ae > patch
patch -p1 < patch
./gradlew
export PATH=$PATH:/c/Program\ Files/Java/jdk1.8.0_162/bin
- Slides
- Java Pathfinder
- Dining philosophers source (.tar.gz)
- Concurrent queue source (.tar.gz)
- Concurrent queue source with flaw (.tar.gz)
To download and run:
cd
curl https://cyrille-artho.github.io/CUT-workshop/diningphil.tar.gz -O
tar -xzf diningphil.tar.gz
cd diningphil/src
./build.sh && ./run.sh
To download:
cd
curl https://cyrille-artho.github.io/CUT-workshop/queue.tar.gz -O
tar -xzf queue.tar.gz
cd queue/src
-
To compile:
./build.sh
-
To run the simple test case:
./run.sh QueueTest
-
To run the producer/consumer test case:
./run.sh ProdCons
To download and run:
cd
curl https://cyrille-artho.github.io/CUT-workshop/queue-notify.tar.gz -O
tar -xzf queue-notify.tar.gz
cd queue-notify/src
-
To compile:
./build.sh
-
To run the simple test case:
./run.sh QueueTest
-
To run the producer/consumer test case:
./run.sh ProdCons