diff options
author | Nick Foster | 2011-01-25 15:06:23 -0800 |
---|---|---|
committer | Nick Foster | 2011-01-25 15:06:23 -0800 |
commit | b0a23e876fe0f92afb2c55fd4fbce6427e9598d8 (patch) | |
tree | c9958340aec46063de20ac019c0975980dae88d4 /volk | |
parent | f832c9789be9fec46e211be4fb2355013d19c000 (diff) | |
download | gnuradio-b0a23e876fe0f92afb2c55fd4fbce6427e9598d8.tar.gz gnuradio-b0a23e876fe0f92afb2c55fd4fbce6427e9598d8.tar.bz2 gnuradio-b0a23e876fe0f92afb2c55fd4fbce6427e9598d8.zip |
Volk: doesn't test a routine if no valid architectures other than generic are found
Diffstat (limited to 'volk')
-rw-r--r-- | volk/lib/qa_utils.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/volk/lib/qa_utils.cc b/volk/lib/qa_utils.cc index 9cafd459f..6a6f87d85 100644 --- a/volk/lib/qa_utils.cc +++ b/volk/lib/qa_utils.cc @@ -288,6 +288,11 @@ bool run_volk_tests(const int archs[], void (*manual_func)(), std::string name, //first let's get a list of available architectures for the test std::vector<std::string> arch_list = get_arch_list(archs); + if(arch_list.size() < 2) { + std::cout << "no architectures to test" << std::endl; + return false; + } + //now we have to get a function signature by parsing the name std::vector<volk_type_t> inputsig, outputsig; get_signatures_from_name(inputsig, outputsig, name); |