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.
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.