(List (Com {[LIT_CHARS cd]} {[DQ [ComSub (Com {[LIT_CHARS dirname]} {[DQ [VarSub 0]]})]]}) (Com {[LIT_CHARS .]} {[LIT_CHARS REVISIONS]}) (= scope= flags=0 words=[] bindings=[('repos', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('trybots_glibc_only', {[DQ [LIT_CHARS nacl-toolchain-precise64-glibc]]})]) (= scope= flags=0 words=[] bindings=[('trybots_glibc', {[DQ [LIT_CHARS "nacl-toolchain-precise64-glibc,"][LIT_CHARS "nacl-toolchain-mac-glibc,"][LIT_CHARS nacl-toolchain-win7-glibc]]})]) (= scope= flags=0 words=[] bindings=[('trybots_newlib', {[DQ [LIT_CHARS "nacl-toolchain-precise64-newlib,"][LIT_CHARS "nacl-toolchain-mac-newlib,"][LIT_CHARS nacl-toolchain-win7-newlib]]})]) (= scope= flags=0 words=[] bindings=[('tmp', {[SQ ]})]) (Com {[LIT_CHARS trap]} {[SQ ]} {[LIT_CHARS 0]} {[LIT_CHARS 1]} {[LIT_CHARS 2]} {[LIT_CHARS 15]}) (AndOr OP_OR_IF (AndOr OP_AND_IF (Com {[LIT_CHARS git]} {[LIT_CHARS status]} {[LIT_CHARS --porcelain]} {[LIT_CHARS -uno]} < (FilenameRedirectNode filename={[DQ [VarSub tmp]]} "> 1), > ) (AndOr OP_AND_IF (Com {[LIT_OTHER "["]} {[LIT_CHARS -r]} {[DQ [VarSub tmp]]} {[LIT_OTHER "]"]}) (Com {[LIT_OTHER "["]} {[LIT_OTHER "!"]} {[LIT_CHARS -s]} {[DQ [VarSub tmp]]} {[LIT_OTHER "]"]}) ) ) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub 0][LIT_CHARS ": Start with a clean working directory"]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]}) ) ) (= scope= flags=0 words=[] bindings=[('test_all', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('test_glibc', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('test_newlib', {[SQ ]})]) (= scope= flags=0 words=[] bindings=[('tryname', {[LIT_CHARS try]})]) (For repo [{[VarSub repos]}]) (List (= scope= flags=0 words=[] bindings=[('revname', {[DQ [LIT_CHARS NACL_][ComSub (Pipeline (Com {[LIT_CHARS echo]} {[DQ [VarSub repo]]}) (Com {[LIT_CHARS tr]} {[SQ ]} {[SQ ]}) )][LIT_CHARS _COMMIT]]})]) (= scope= flags=0 words=[] bindings=[('patch', {[DQ [LIT_CHARS toolchain-try.][VarSub repo][LIT_CHARS .patch]]})]) (Subshell (List (Com {[LIT_CHARS cd]} {[DQ [LIT_CHARS SRC/][VarSub repo]]}) (Com {[LIT_CHARS git]} {[LIT_CHARS diff]} {[DQ [VarSub revname transform_ops=[(!ref)]][LIT_CHARS ..HEAD]]}) ) ) (If (Com {[LIT_OTHER "["]} {[VarSub ?]} {[LIT_CHARS -ne]} {[LIT_CHARS 0]} {[LIT_OTHER "]"]}) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub 0][LIT_CHARS ": error: update SRC/"][VarSub repo][LIT_CHARS " first"]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 2]}) ) ) (If (Com {[LIT_OTHER "["]} {[LIT_CHARS -s]} {[DQ [VarSub patch]]} {[LIT_OTHER "]"]}) (List (Com {[LIT_CHARS git]} {[LIT_CHARS add]} {[DQ [VarSub patch]]}) (= scope= flags=0 words=[] bindings=[('tryname', {[DQ [VarSub tryname][LIT_CHARS -][VarSub repo][LIT_CHARS -][ComSub (List (Com {[LIT_CHARS cd]} {[DQ [LIT_CHARS SRC/][VarSub repo]]}) (Com {[LIT_CHARS git]} {[LIT_CHARS rev-list]} {[LIT_CHARS -n1]} {[LIT_CHARS --abbrev-commit]} {[LIT_CHARS HEAD]}) )]]})]) (Case to_match={[DQ [VarSub repo]]}, pat_word_list=[[{[LIT_CHARS newlib]}], [{[LIT_CHARS glibc]}], [{[LIT_OTHER "*"]}]] (= scope= flags=0 words=[] bindings=[('test_newlib', {[LIT_CHARS yes]})]) (= scope= flags=0 words=[] bindings=[('test_glibc', {[LIT_CHARS yes]})]) (List (= scope= flags=0 words=[] bindings=[('test_newlib', {[LIT_CHARS yes]})]) (= scope= flags=0 words=[] bindings=[('test_glibc', {[LIT_CHARS yes]})]) (= scope= flags=0 words=[] bindings=[('test_all', {[LIT_CHARS yes]})]) ) ) ) (ElseTrue) (Com {[LIT_CHARS rm]} {[LIT_CHARS -f]} {[DQ [VarSub patch]]}) ) ) ) (If (Com {[LIT_OTHER "["]} {[LIT_CHARS -z]} {[DQ [VarSub test_all]]} {[LIT_CHARS -a]} {[LIT_CHARS -z]} {[DQ [VarSub test_newlib]]} {[LIT_CHARS -a]} {[LIT_CHARS -n]} {[DQ [VarSub test_glibc]]} {[LIT_OTHER "]"]}) (= scope= flags=0 words=[] bindings=[('trybots', {[DQ [VarSub trybots_glibc_only]]})]) (ElseTrue) (= scope= flags=0 words=[] bindings=[('trybots', {[DQ [VarSub test_newlib test_op=VS_TEST_COLON_PLUS {[VarSub trybots_newlib]}][VarSub test_glibc test_op=VS_TEST_COLON_PLUS {[VarSub test_newlib test_op=VS_TEST_COLON_PLUS {[LIT_CHARS ","]}] [VarSub trybots_glibc]}]]})]) ) (If (Pipeline! (Com {[LIT_CHARS git]} {[LIT_CHARS rev-parse]} {[LIT_CHARS origin/master]} < (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 1), > ) ) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub 0][LIT_CHARS ": error: no origin/master branch"]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 3]}) ) ) (Subshell (List (Com {[LIT_CHARS set]} {[LIT_CHARS -x]}) (Com {[LIT_CHARS git]} {[LIT_CHARS checkout]} {[LIT_CHARS -b]} {[DQ [VarSub tryname]]} {[LIT_CHARS origin/master]}) (Com {[LIT_CHARS git]} {[LIT_CHARS commit]} {[LIT_CHARS -m]} {[DQ [LIT_CHARS "toolchain trybot run: "][VarSub tryname]]}) (Com {[LIT_CHARS git]} {[LIT_CHARS try]} {[LIT_CHARS -b]} {[DQ [VarSub trybots]]}) ) ) )