shithub: rgbds

Download patch

ref: 01aa56606fd4ca478d5c1513d494a9f0a6754f09
parent: bddd5bc678064f0fdf3ce18942ecb6c6bed4b208
author: Jakub Kądziołka <[email protected]>
date: Tue Sep 3 18:54:22 EDT 2019

test/asm: special-case include-recursion

--- a/test/asm/test.sh
+++ b/test/asm/test.sh
@@ -11,6 +11,12 @@
 			../../rgbasm -o $o $i > $after 2>&1
 			desired_output=${i%.asm}.out
 		else
+			# `include-recursion.asm` refers to its own name inside the test code.
+			# Skip testing with stdin input for that file.
+			if [ "$i" = "include-recursion.asm" ]; then
+				continue
+			fi
+
 			# Stop! This is not a Useless Use Of Cat. Using cat instead of
 			# stdin redirection makes the input an unseekable pipe - a scenario
 			# that's harder to deal with and was broken when the feature was