forked from Github_Repos/cvw
		
	fixed verify step to work correctly with comments. clarified copy references without simulating
This commit is contained in:
		
							parent
							
								
									0eb280b314
								
							
						
					
					
						commit
						ddc8883ea5
					
				@ -28,8 +28,8 @@ do
 | 
			
		||||
        echo -e  "Check $(printf %-24s ${stub}) \e[33m ... IGNORE \e[39m"
 | 
			
		||||
        continue
 | 
			
		||||
    fi
 | 
			
		||||
    # KMG: added snippet to ignore comments in reference file
 | 
			
		||||
    diff -I '#*' -I '//*' --ignore-case --strip-trailing-cr ${ref} ${sig} &> /dev/null
 | 
			
		||||
    # KMG: changed diff snippet to a grep that will strip comments with '//' and '#' out of the reference file
 | 
			
		||||
    diff --ignore-case --ignore-trailing-space --strip-trailing-cr <(grep -o '^[^//#]*' ${ref}) ${sig} &> /dev/null
 | 
			
		||||
    if [ $? == 0 ]
 | 
			
		||||
    then
 | 
			
		||||
        echo -e "\e[32m ... OK \e[39m"
 | 
			
		||||
 | 
			
		||||
@ -63,7 +63,8 @@ copy:
 | 
			
		||||
	$(info !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
 | 
			
		||||
	$(info <<<<<<<<<<<<<<<<<<<<<<<<<<<< COPYING REFERENCES WITHOUT SIMULATING >>>>>>>>>>>>>>>>>>>>>>>>>>>>)
 | 
			
		||||
	$(info !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
 | 
			
		||||
	$(V) echo "Copying References without simulating"
 | 
			
		||||
	$(V) echo "Copying References without simulating for the following tests:"
 | 
			
		||||
	$(V) echo $(target_tests_nosim)
 | 
			
		||||
	$(V) for test in $(target_tests_nosim); do grep -o '^[^//#]*' $(ref_dir)/$$test.reference_output > $(work_dir_isa)/$$test.signature.output; done
 | 
			
		||||
 | 
			
		||||
compile: $(combined_elf)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user