Flutter Engine
The Flutter Engine
third_party
skia
resources
sksl
es2_conformance
Namespaces
|
Variables
import_conformance_tests.py File Reference
Go to the source code of this file.
Namespaces
namespace
import_conformance_tests
Variables
import_conformance_tests.wordWithUnderscores
= pp.Word(pp.alphanums + '_')
import_conformance_tests.pipeList
= pp.delimited_list(pp.SkipTo(pp.Literal("|") | pp.Literal("]")), delim="|")
import_conformance_tests.bracketedPipeList
import_conformance_tests.unbracketedValue
= pp.Group(pp.SkipTo(";"))
tuple
import_conformance_tests.valueList
import_conformance_tests.value
tuple
import_conformance_tests.values
tuple
import_conformance_tests.expectation
tuple
import_conformance_tests.code
import_conformance_tests.reqGlsl100
= pp.Keyword("require").suppress() + pp.Keyword("full_glsl_es_100_support")
import_conformance_tests.desc
= pp.Keyword("desc") + pp.QuotedString('"')
import_conformance_tests.version100es
= pp.Keyword("version") + pp.Keyword("100") + pp.Keyword("es")
tuple
import_conformance_tests.ignoredCaseItem
= (desc | version100es).suppress()
tuple
import_conformance_tests.caseItem
= pp.Group(values | expectation | code | reqGlsl100) | ignoredCaseItem
import_conformance_tests.caseBody
= pp.ZeroOrMore(caseItem)
import_conformance_tests.blockEnd
= pp.Keyword("end").suppress();
import_conformance_tests.caseHeader
= pp.Keyword("case") + wordWithUnderscores
import_conformance_tests.case
= pp.Group(caseHeader + caseBody + blockEnd)
tuple
import_conformance_tests.groupHeader
= (pp.Keyword("group") + wordWithUnderscores + pp.QuotedString('"')).suppress()
import_conformance_tests.group
= pp.Forward()
import_conformance_tests.grammar
= group
import_conformance_tests.testCases
= grammar.parse_string(
sys.stdin.read
(), parse_all=True)
import_conformance_tests.testDirectory
= os.path.realpath(
os.path.join
(os.getcwd(), os.path.dirname(__file__)))
string
import_conformance_tests.passDirectory
= testDirectory + "/pass"
string
import_conformance_tests.failDirectory
= testDirectory + "/fail"
import_conformance_tests.exist_ok
dictionary
import_conformance_tests.written
= {}
import_conformance_tests.testName
= c[0]
string
import_conformance_tests.skipTest
= ''
bool
import_conformance_tests.expectPass
= True
bool
import_conformance_tests.allowMismatch
= False
string
import_conformance_tests.testCode
= ''
list
import_conformance_tests.inputs
= []
list
import_conformance_tests.outputs
= []
import_conformance_tests.valueType
= v[0]
string
import_conformance_tests.compare
= lambda
type
,
a
,
b
: '((' +
a
+ ') == (' +
b
+ '))'
int
import_conformance_tests.numVariables
= 0
string
import_conformance_tests.testSpecialization
= testCode
string
import_conformance_tests.declarations
= ""
string
import_conformance_tests.outputChecks
= "return
true
"
string
import_conformance_tests.path
= "%s/%s_%d.rts" % (testDirectory, testName, varIndex)
import_conformance_tests.f
= open(path, "w")
Generated on Sun Jun 23 2024 21:57:17 for Flutter Engine by
1.9.4