nasa / EdsLib

CCSDS SOIS Electronic Data Sheet Tool and Library
Apache License 2.0
31 stars 12 forks source link

Fix #48, no input passed to table tool #51

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Describe the contribution Return an error code (EXIT_FAILURE) if no input files were passed to the eds2cfetbl tool. This points to an error in the parent script/makefile that should be addressed and thus the build should stop. With a success return, the build keeps running as if everything is OK but there will be no table files at the end.

Fixes #48

Testing performed Build CFE and check table outputs

Expected behavior changes If passed no inputs, this will now exit with a failure code and stop the parent script/makefile

System(s) tested on Debian

Additional context Avoids getting build success with mysteriously missing tables in the case of a scripting error

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.