Basic Test Suite - RamanVerma/taskqueues GitHub Wiki
Following are the instructions on how to use the test suite included in the testsuite folder
You may use this test suite to quickly test out the basic functionality after any code changes. It involves following tests
- Create a taskqueue
- Create and destroy a taskqueue
- Solve a matrix multiplication problem by distributing the tasks among various sub_taskqueues
- Interrupt the matrix multiplication problem in the middle with the help of flush and display results before proceeding to complete the rest of the multiplication.
#####TODO
Add a Makefile for testsuite. Right now I am compiling it manually with the following command from the directory: taskqueues/testsuite/
gcc -g testsuite.c -lpthread