z390development / z390

z390 Portable Mainframe Assembler and Emulator Project
GNU General Public License v2.0
40 stars 15 forks source link

Scripts bash/cblcl and bash/cblclg do not delete the OBJ file when the assembly fails #576

Closed jyganci closed 2 months ago

jyganci commented 2 months ago

When looking at another issue, it was noticed that a COBOL compile and link (and go) did not delete the OBJ file created by the mz390 (assembly) step when the assembly failed. This resulted in another COBOL compile and link that to succeed; a main COBOL program calls the COBOL (sub)program that failed assembly; the link of the main COBOL was successful. It should fail. Similar isse when doing compile, link and go.

jyganci commented 2 months ago

Fixed by PR $577.