Loading isis/src/base/apps/ddd2isis/tsts/errors/Makefile +7 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,18 @@ commands: if [ `$(APPNAME) \ FROM=$(INPUT)/vis1flat.ddd \ TO=$(OUTPUT)/vis1flat.cub \ 2> $(OUTPUT)/errorTruth.txt > /dev/null` ]; \ 2> $(OUTPUT)/temp.txt > /dev/null` ]; \ then true; \ fi; # TEST: Throws an error when trying to read from a cub instead of ddd if [ `$(APPNAME) \ FROM=$(INPUT)/vis1flat.cub \ TO=$(OUTPUT)/vis1flat.cub \ 2>> $(OUTPUT)/errorTruth.txt > /dev/null` ]; \ 2>> $(OUTPUT)/temp.txt > /dev/null` ]; \ then true; \ fi; # Removes input file path up until input $(SED) 's+\[.*/input+[input+' $(OUTPUT)/temp.txt > $(OUTPUT)/errorTruth.txt; $(RM) $(OUTPUT)/temp.txt Loading
isis/src/base/apps/ddd2isis/tsts/errors/Makefile +7 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,18 @@ commands: if [ `$(APPNAME) \ FROM=$(INPUT)/vis1flat.ddd \ TO=$(OUTPUT)/vis1flat.cub \ 2> $(OUTPUT)/errorTruth.txt > /dev/null` ]; \ 2> $(OUTPUT)/temp.txt > /dev/null` ]; \ then true; \ fi; # TEST: Throws an error when trying to read from a cub instead of ddd if [ `$(APPNAME) \ FROM=$(INPUT)/vis1flat.cub \ TO=$(OUTPUT)/vis1flat.cub \ 2>> $(OUTPUT)/errorTruth.txt > /dev/null` ]; \ 2>> $(OUTPUT)/temp.txt > /dev/null` ]; \ then true; \ fi; # Removes input file path up until input $(SED) 's+\[.*/input+[input+' $(OUTPUT)/temp.txt > $(OUTPUT)/errorTruth.txt; $(RM) $(OUTPUT)/temp.txt