Update list implementation to work with memory pools (#168)
* Introduce indexed list implementation * Fix CI tests for pool * Take bitset out of pool * Replace joker bitset interactions with wrappers * Add bitset tests * Add test to gitignore --------- Co-authored-by: rfehr-idexx <ric-fehr@idexx.com>
This commit is contained in:
+15
-7
@@ -2,12 +2,20 @@
|
||||
|
||||
set -eu
|
||||
|
||||
run_pool_test() {
|
||||
cd pool
|
||||
make clean
|
||||
make
|
||||
./build/pool_test
|
||||
cd - > /dev/null
|
||||
run_test() {
|
||||
name="$1"
|
||||
|
||||
echo "==============================================================================="
|
||||
echo "Running test for: $1"
|
||||
echo "==============================================================================="
|
||||
|
||||
cd "$name" 2>&1 > /dev/null
|
||||
make clean > /dev/null
|
||||
make > /dev/null
|
||||
./build/"$name"_test
|
||||
cd - 2>&1 > /dev/null
|
||||
}
|
||||
|
||||
run_pool_test
|
||||
run_test bitset
|
||||
run_test pool
|
||||
run_test list
|
||||
|
||||
Reference in New Issue
Block a user