1#!/usr/bin/python2 2"""Check to see if the working set produces a good executable.""" 3 4from __future__ import print_function 5 6import os 7import sys 8 9import common 10 11 12def Main(): 13 if not os.path.exists('./is_setup'): 14 return 1 15 working_set = common.ReadWorkingSet() 16 for w in working_set: 17 if w == 1: 18 return 1 ## False, linking failure 19 return 0 20 21 22if __name__ == '__main__': 23 retval = Main() 24 sys.exit(retval) 25