Skip to content
Snippets Groups Projects
Commit 2da65b31 authored by John Romein's avatar John Romein
Browse files

Adapted tests to the new input format argument.

parent cd2df820
No related branches found
No related tags found
1 merge request!15Fp8
...@@ -18,10 +18,10 @@ install(TARGETS CorrelatorTest RUNTIME DESTINATION bin) ...@@ -18,10 +18,10 @@ install(TARGETS CorrelatorTest RUNTIME DESTINATION bin)
# R: outerRepeatCount # R: outerRepeatCount
# t: nrSamplesPerChannel must be a multiple of (128 / nrBits) # t: nrSamplesPerChannel must be a multiple of (128 / nrBits)
# V: verifyOutput # V: verifyOutput
set(ARGS0 -b 4 -c 1 -n 1 -N 32 -r 1 -R 1 -t 32) set(ARGS0 -I i4 -c 1 -n 1 -N 32 -r 1 -R 1 -t 32)
set(ARGS1 -b 8 -c 1 -n 1 -N 48 -r 1 -R 1 -t 16) set(ARGS1 -I i8 -c 1 -n 1 -N 48 -r 1 -R 1 -t 16)
set(ARGS2 -b 16 -c 1 -n 1 -N 64 -r 1 -R 1 -t 8) set(ARGS2 -I fp16 -c 1 -n 1 -N 64 -r 1 -R 1 -t 8)
set(ARGS3 -b 16 -c 2 -n 3 -N 32 -r 4 -R 5 -t 64) set(ARGS3 -I fp16 -c 2 -n 3 -N 32 -r 4 -R 5 -t 64)
foreach(idx RANGE 3) foreach(idx RANGE 3)
add_test(NAME CorrelatorTest${idx} COMMAND CorrelatorTest ${ARGS${idx}}) add_test(NAME CorrelatorTest${idx} COMMAND CorrelatorTest ${ARGS${idx}})
...@@ -41,6 +41,6 @@ foreach(idx ...@@ -41,6 +41,6 @@ foreach(idx
647 653 659 661 673 677 683 691 701 709 719 727 733 647 653 659 661 673 677 683 691 701 709 719 727 733
739 743 751 757 761) 739 743 751 757 761)
add_test(NAME CorrelatorTest-nrReceivers-${idx} add_test(NAME CorrelatorTest-nrReceivers-${idx}
COMMAND CorrelatorTest -b 16 -c 1 -n ${idx} -N 32 -r 1 -R 1 -t 8 COMMAND CorrelatorTest -I fp16 -c 1 -n ${idx} -N 32 -r 1 -R 1 -t 8
) )
endforeach() endforeach()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment