#NEWLINE# def test_build_flags( self ) : #NEWLINE# #INDENT# ensure_not_ui_thread ( ) #NEWLINE# file_path = path . join ( TEST_GOPATH , 'src' , 'good' , 'rune_len.go' ) #NEWLINE# def _run_build( view , result_queue ) : #NEWLINE# #INDENT# view . window ( ) . run_command ( 'golang_build' , { #NEWLINE# #INDENT# 'flags' : [ '-v' , '-x' ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# result_queue = open_file ( file_path , VIEW_SETTINGS , _run_build ) #NEWLINE# result = wait_build ( file_path ) #NEWLINE# self . assertEqual ( 'success' , result ) #NEWLINE# self . assertTrue ( confirm_user ( 'Did "go build" succeed and print all commands?' ) )