'do a test build ob libzmq'

def test_build(self, prefix, settings):

    self.create_tempdir()
    settings = settings.copy()
    if (self.bundle_libzmq_dylib and (not sys.platform.startswith('win'))):
        settings['library_dirs'] = ['zmq']
        if (sys.platform == 'darwin'):
            pass
        else:
            settings['runtime_library_dirs'] = [os.path.abspath(pjoin('.', 'zmq'))]
    line()
    info('Configure:    Autodetecting    ZMQ    settings...')
    info(('                Custom    ZMQ    dir:                            %s' % prefix))
    try:
        detected = detect_zmq(self.tempdir, compiler=self.compiler_type, **settings)
    finally:
        self.erase_tempdir()
    info(('                ZMQ    version    detected:    %s' % v_str(detected['vers'])))
    return detected
