(CommandList children: [ (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (C {(set)} {(-o)} {(errexit)}) (C {(source)} {(test/common.sh)}) (C {(export)} {(Lit_VarLike 'PYTHONPATH=') (.)}) (FuncDef name: one body: (BraceGroup children:[(C {(DQ ($ VSub_At '$@'))})] spids:[71]) spids: [67 70] ) (FuncDef name: unit body: (BraceGroup children:[(C {(DQ ($ VSub_At '$@'))})] spids:[88]) spids: [84 87] ) (FuncDef name: delete-pyc body: (BraceGroup children: [ (AndOr children: [ (Pipeline children: [ (C {(find)} {(.)} {(-name)} {(SQ <'*.pyc'>)}) (C {(xargs)} {(--no-run-if-empty)} {(--)} {(rm)}) ] negated: False ) (C {(true)}) ] op_id: Op_DPipe ) ] spids: [107] ) spids: [103 106] ) (Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (LhsName name:PY_273) op: Equal rhs: {(TildeSubPart prefix:'') (/src/languages/Python-2.7.3/python)} spids: [139] ) ] spids: [137] ) (Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (LhsName name:PY_272) op: Equal rhs: {(TildeSubPart prefix:'') (/src/languages/Python-2.7.2/python)} spids: [145] ) ] spids: [143] ) (Assignment keyword: Assign_Readonly pairs: [ (assign_pair lhs: (LhsName name:PY_27) op: Equal rhs: {(TildeSubPart prefix:'') (/src/languages/Python-2.7/python)} spids: [151] ) ] spids: [149] ) (FuncDef name: banner body: (BraceGroup children: [(C {(echo)} {(-----)}) (C {(echo)} {(DQ ($ VSub_At '$@'))}) (C {(echo)} {(----)})] spids: [167] ) spids: [163 166] ) (FuncDef name: repro body: (BraceGroup children: [ (AndOr children: [(C {(rm)} {(-v)} {(Lit_Other '*') (.pytrace)}) (C {(true)})] op_id: Op_DPipe ) (C {(delete-pyc)}) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:t) op: Equal rhs: {(SQ <'core/id_kind_test.py TokensTest.testEquality'>)} spids: [225] ) ] spids: [223] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:py) op: Equal rhs: {(SQ <_devbuild/cpython-instrumented/python>)} spids: [242] ) ] spids: [240] ) (Assignment keyword: Assign_Local pairs: [(assign_pair lhs:(LhsName name:prefix) op:Equal rhs:{(SQ )} spids:[255])] spids: [253] ) (C {(set)} {(Lit_Other '+') (o)} {(errexit)}) (C {(banner)} {(SQ <FIRST>)}) (C {($ VSub_Name '$prefix')} {($ VSub_Name '$py')} {($ VSub_Name '$t')}) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:first) op: Equal rhs: {($ VSub_QMark '$?')} spids: [291] ) ] spids: [289] ) (C {(banner)} {(SQ <SECOND>)}) (C {($ VSub_Name '$prefix')} {($ VSub_Name '$py')} {($ VSub_Name '$t')}) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:second) op: Equal rhs: {($ VSub_QMark '$?')} spids: [317] ) ] spids: [315] ) (C {(echo)} {(DQ ('first ') ($ VSub_Name '$first') (' second ') ($ VSub_Name '$second'))}) ] spids: [196] ) spids: [192 195] ) (FuncDef name: _log-one body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:name) op: Equal rhs: {($ VSub_Number '$1')} spids: [347] ) ] spids: [345] ) (SimpleCommand words: [{($ VSub_Name '$name')}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(_tmp/unit/) (${ VSub_Name name) (.log.txt)} spids: [353] ) (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[361]) ] ) ] spids: [342] ) spids: [338 341] ) (FuncDef name: _all body: (BraceGroup children: [ (C {(mkdir)} {(-p)} {(_tmp/unit)}) (ForEach iter_name: t iter_words: [ (BracedWordTree parts: [ (BracedAltPart words: [{(build)} {(test)} {(native)} {(asdl)} {(core)} {(osh)} {(tools)}] ) (/) (Lit_Other '*') (_test.py) ] ) ] do_arg_iter: False body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$t')} right: {(Lit_Other '*') (arith_parse_test.py)} ) ) terminator: <Op_Semi ';'> ) ] action: [(ControlFlow token:<ControlFlow_Continue continue>)] spids: [16777215 438] ) ] spids: [16777215 444] ) (C {(echo)} {($ VSub_Name '$t')}) (C {(mkdir)} {(-p)} {(_tmp/unit/) (CommandSubPart command_list: (CommandList children:[(C {(dirname)} {($ VSub_Name '$t')})]) left_token: <Left_CommandSub '$('> spids: [458 462] ) } ) (C {(run-task-with-status)} {(_tmp/unit/) (${ VSub_Name t) (.task.txt)} {($ VSub_Number '$0')} {(_log-one)} {($ VSub_Name '$t')} ) ] spids: [417 480] ) spids: [396 415] ) ] spids: [371] ) spids: [367 370] ) (FuncDef name: _html-summary body: (BraceGroup children: [ (Pipeline children: [ (C {(find)} {(_tmp/unit)} {(-name)} {(SQ <'*.task.txt'>)}) (C {(awk)} { (SQ <'\n'> <' { path = $0\n'> <' getline < path\n'> <' status = $1\n'> <' wall_secs = $2\n'> <'\n'> <' if (status == 0) {\n'> <' num_passed += 1\n'> <' } else {\n'> <' num_failed = 1\n'> <' print path " failed"\n'> <' }\n'> <' }\n'> <' END {\n'> <' if (num_failed == 0) {\n'> <' print ""\n'> <' print "ALL " num_passed " TESTS PASSED"\n'> <' }\n'> <' }\n'> <' '> ) } ) ] negated: False ) ] spids: [495] ) spids: [491 494] ) (FuncDef name: html-summary body: (BraceGroup children:[(C {(_html-summary)})] spids:[542]) spids: [538 541] ) (FuncDef name: all body: (BraceGroup children: [(TimeBlock pipeline:(C {($ VSub_Number '$0')} {(_all)})) (C {(html-summary)})] spids: [554] ) spids: [550 553] ) (C {(DQ ($ VSub_At '$@'))}) ] )