Loading isis/src/base/apps/csv2table/csv2table.xml +1 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ file where all of the keywords and their values will be added to the tabel label. </description> <internalDefault>None</internalDefault> <filter> *.pvl </filter> Loading isis/src/base/apps/csv2table/tsts/errors/Makefile 0 → 100644 +30 −0 Original line number Diff line number Diff line APPNAME = csv2table include $(ISISROOT)/make/isismake.tsts commands: cp $(INPUT)/isisTruth.cub $(OUTPUT)/isisTruth.cub; if [ `$(APPNAME) csv=$(INPUT)/not_a_file.csv \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; if [ `$(APPNAME) csv=$(INPUT)/empty.csv \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &>> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; if [ `$(APPNAME) csv=$(INPUT)/test.csv \ label=$(INPUT)/not_a_file.pvl \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &>> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; rm $(OUTPUT)/isisTruth.cub; Loading
isis/src/base/apps/csv2table/csv2table.xml +1 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ file where all of the keywords and their values will be added to the tabel label. </description> <internalDefault>None</internalDefault> <filter> *.pvl </filter> Loading
isis/src/base/apps/csv2table/tsts/errors/Makefile 0 → 100644 +30 −0 Original line number Diff line number Diff line APPNAME = csv2table include $(ISISROOT)/make/isismake.tsts commands: cp $(INPUT)/isisTruth.cub $(OUTPUT)/isisTruth.cub; if [ `$(APPNAME) csv=$(INPUT)/not_a_file.csv \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; if [ `$(APPNAME) csv=$(INPUT)/empty.csv \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &>> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; if [ `$(APPNAME) csv=$(INPUT)/test.csv \ label=$(INPUT)/not_a_file.pvl \ tablename="TestTable" \ to=$(OUTPUT)/isisTruth.cub &>> $(OUTPUT)/errors.txt` ]; \ then \ true; \ fi; rm $(OUTPUT)/isisTruth.cub;