Commit 1e684cd9 authored by jehan's avatar jehan

fix unit test for cmake build

parent 6e1214ca
......@@ -57,7 +57,7 @@ Tests suite
- Tests are defined for each functional bloc (more or less matching a source file)
and for global encoding/decoding
- Use `make check` to compile and run all tests available in the test directory.
- Use `-DENABLE_TESTS=YES` to compile with tests To run all tests available in the test directory, run testCampaignAll from test directory
- Input tests pattern have been generated by ITU code using ITU tests patterns.
The test patterns are not part of this repository but can be downloaded [here][bcg729-patern]. However, the first
......@@ -26,7 +26,7 @@ use Term::ANSIColor;
# Tune the defaultMaxDiff associative array definition to modify
# the behavior of this script for any functional bloc under test
my $binDirectory = "./bin/";
my $binDirectory = "./";
my $patternDirectory = "./patterns";
# softDiff: compare two CSV files with a margin of acceptance between the values found
# arguments : file1, file2, maximumDiff tolerated(value), maximum percentage abs((val1-val2)/val1)*100 tolerated
......@@ -29,4 +29,4 @@ if [ ! -d "patterns" ]; then
# run all the tests
./testCampaign-exec all
./testCampaign all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment