star-aerosol

Describe the radiative properties of aerosols
git clone git://git.meso-star.fr/star-aerosol.git
Log | Files | Refs | README | LICENSE

commit 7620ffeaa3bf68bc309f973aab8183139e5a28a9
parent f13f253294797237adefee4f5225e6676b80a31b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 15 Jun 2022 10:53:59 +0200

Minor upd of the load test

Diffstat:
Msrc/test_sars_load.c | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/test_sars_load.c b/src/test_sars_load.c @@ -268,9 +268,12 @@ main(int argc, char** argv) args.verbose = 1; CHK(sars_create(&args, &sars) == RES_OK); - test_load(sars); - test_load_fail(sars); - test_load_files(sars, argc, argv); + if(argc > 1) { + test_load_files(sars, argc, argv); + } else { + test_load(sars); + test_load_fail(sars); + } CHK(sars_ref_put(sars) == RES_OK); CHK(mem_allocated_size() == 0);