mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 20:29:54 +00:00
Add some basic --depfile tests
This commit is contained in:
parent
f050209ce1
commit
498d74d84c
1
Test/baseResults/hlsl.dashI.vert.d.out
Normal file
1
Test/baseResults/hlsl.dashI.vert.d.out
Normal file
@ -0,0 +1 @@
|
|||||||
|
vert.spv: hlsl.dashI.vert ./bar.h ./parent.h inc1/path1/local.h inc1/path1/notHere.h inc1/path2/remote.h
|
1
Test/baseResults/hlsl.include.vert.d.out
Normal file
1
Test/baseResults/hlsl.include.vert.d.out
Normal file
@ -0,0 +1 @@
|
|||||||
|
vert.spv: ../Test/hlsl.include.vert ../Test/./inc1/bar.h ../Test/./inc1/foo.h ../Test/bar.h ../Test/inc2/bar.h ../Test/inc2/foo.h ../Test/parent.h
|
@ -190,6 +190,16 @@ diff -b $BASEDIR/hlsl.dashI.vert.out $TARGETDIR/hlsl.dashI.vert.out || HASERROR=
|
|||||||
run -D -Od -e MainPs -H -Od -g hlsl.pp.line3.frag > $TARGETDIR/hlsl.pp.line3.frag.out
|
run -D -Od -e MainPs -H -Od -g hlsl.pp.line3.frag > $TARGETDIR/hlsl.pp.line3.frag.out
|
||||||
diff -b $BASEDIR/hlsl.pp.line3.frag.out $TARGETDIR/hlsl.pp.line3.frag.out || HASERROR=1
|
diff -b $BASEDIR/hlsl.pp.line3.frag.out $TARGETDIR/hlsl.pp.line3.frag.out || HASERROR=1
|
||||||
|
|
||||||
|
#
|
||||||
|
# Testing --depfile
|
||||||
|
#
|
||||||
|
|
||||||
|
echo "Testing --depfile"
|
||||||
|
run -D -Od -e main -H --depfile $TARGETDIR/hlsl.include.vert.d.out -Od ../Test/hlsl.include.vert > $TARGETDIR/hlsl.include.vert.out
|
||||||
|
diff -b $BASEDIR/hlsl.include.vert.d.out $TARGETDIR/hlsl.include.vert.d.out || HASERROR=1
|
||||||
|
run -D -Od -e main -H --depfile $TARGETDIR/hlsl.dashI.vert.d.out -Od -Iinc1/path1 -Iinc1/path2 hlsl.dashI.vert > $TARGETDIR/hlsl.dashI.vert.out
|
||||||
|
diff -b $BASEDIR/hlsl.dashI.vert.d.out $TARGETDIR/hlsl.dashI.vert.d.out || HASERROR=1
|
||||||
|
|
||||||
#
|
#
|
||||||
# Testing -D and -U
|
# Testing -D and -U
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user