mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-06-07 00:54:09 +00:00
Minor fixes
This commit is contained in:
parent
d85483370d
commit
eb40d9dbb5
@ -187,6 +187,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
std::cout << "Warning: this was a dry-run. Config not generated" << std::endl;
|
std::cout << "Warning: this was a dry-run. Config not generated" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -216,9 +218,8 @@ void read_results(std::vector<volk_gnsssdr_test_results_t> *results, std::string
|
|||||||
std::vector<std::string> single_kernel_result;
|
std::vector<std::string> single_kernel_result;
|
||||||
std::string config_str(config_line);
|
std::string config_str(config_line);
|
||||||
std::size_t str_size = config_str.size();
|
std::size_t str_size = config_str.size();
|
||||||
std::size_t found = 1;
|
std::size_t found = config_str.find(' ');
|
||||||
|
|
||||||
found = config_str.find(' ');
|
|
||||||
// Split line by spaces
|
// Split line by spaces
|
||||||
while (found && found < str_size)
|
while (found && found < str_size)
|
||||||
{
|
{
|
||||||
|
@ -888,7 +888,7 @@ bool run_volk_gnsssdr_tests(volk_gnsssdr_func_desc_t desc,
|
|||||||
if (fail)
|
if (fail)
|
||||||
{
|
{
|
||||||
volk_gnsssdr_test_time_t *result = &results->back().results[arch_list[i]];
|
volk_gnsssdr_test_time_t *result = &results->back().results[arch_list[i]];
|
||||||
result->pass = !fail;
|
result->pass = false;
|
||||||
fail_global = true;
|
fail_global = true;
|
||||||
std::cout << name << ": fail on arch " << arch_list[i] << std::endl;
|
std::cout << name << ": fail on arch " << arch_list[i] << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user