Use requireExtensions() to check extension and turn on more tests.

Use requireExtensions() to check GL_GOOGLE_cpp_style_line_directive
is turned on. Add register more tests for running.
This commit is contained in:
Lei Zhang
2015-07-28 11:59:24 -04:00
parent 5011fbebc3
commit 780a2f4426
3 changed files with 22 additions and 9 deletions

View File

@@ -1,26 +1,37 @@
#extension GL_GOOGLE_cpp_style_line_directive : enable
0
#line 150 a.h
#line 150 "a.h"
"a.h"
#line 24
"a.h"
#line 42
"a.h"
#line 30 b.cc
#line 30 "b.cc"
"b.cc"
#line 10 3
3
#line 48
3
#line 4
3
#line 55 100
100
#line 1000 c
#line 1000 "c"
"c"
#line 42 1
1
#line 42 this-is-a-quite-long-name-maybe-i-should-shorten-it
#line 42 "this-is-a-quite-long-name-maybe-i-should-shorten-it"
"this-is-a-quite-long-name-maybe-i-should-shorten-it"