Commit e9433336 authored by Kristin's avatar Kristin Committed by Jesse Mapel
Browse files

Update failing kerneldbgen ck test again (#3540)

* Update date and other metadata

* ckwriter_test_fix

* Fix unintentional cmakelists change

* Updated kerneldbgen test to deal with specific filepath length edge case

* Update kerneldbgen ck test to use IgnoreFilePaths
parent e5c41de5
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -4,13 +4,9 @@
# Note that the array style for this input is \("pattern1","pattern2"\)
#
# After the output PVL is created, when compared, the DIFF file indicates to
# ignore RunTime and File.  The File keyword is ignored since, depending on 
# where the test is run, files may have different paths. These paths can not be 
# removed since they may be long enough to take up multiple lines.
# ignore RunTime and File.  The File keyword is set to IgnoreFilePaths since, depending on 
# where the test is run, files may have different paths. 
#
# The kernelFileNamesWithPath file is created to pull out the File keyword
# values, in order.  This is then passed into SED, removing the paths and 
# leaving only the ordered kernel names.
APPNAME = kerneldbgen
include $(ISISROOT)/make/isismake.tsts

@@ -21,10 +17,4 @@ commands:
	  reconfilter=\("mro_sc_2005-10*.bc","mro_sc_2005-12-*.bc"\) \
	  sclk=\$$mro/kernels/sclk/MRO_SCLKSCET.00006.tsc \
	  lsk=\$$base/kernels/lsk/naif0008.tls > /dev/null; \
	grep "mro_sc_2005" $(OUTPUT)/kernel.db.pvl > $(OUTPUT)/kernelFileNamesWithPath.txt;
	$(SED) s+.*/++ $(OUTPUT)/kernelFileNamesWithPath.txt > $(OUTPUT)/kernelFileNamesWhitespace.txt;
	# Remove whitespace - this is needed in the rare circumstance that the input file path
	# is exactly 66 characters in length
	$(SED) 's/^[[:space:]]*//g' $(OUTPUT)/kernelFileNamesWhitespace.txt > $(OUTPUT)/orderedKernelFileNames.txt;
	$(RM) $(OUTPUT)/kernelFileNamesWithPath.txt;
	$(RM) $(OUTPUT)/kernelFileNamesWhitespace.txt;