示例#1
0
文件: package.py 项目: 3dimaging/pdee
def test_pkg(package):
    """Test running the package
    """
    mkdir('dist/test', parent=True)
    unpack(package, 'dist/test/')
    dirname = basename(".".join(package.split(".")[:-2]))
    sh_cmdln('emacs -Q -l dist/test/' + dirname + '/epy-init.el', [])
示例#2
0
文件: package.py 项目: Melecio/emacs
def test_pkg(package):
    """Test running the package
    """
    mkdir('dist/test', parent=True)
    unpack(package, 'dist/test/')
    dirname = basename( ".".join(package.split(".")[:-2]))
    sh_cmdln('emacs -Q -l dist/test/'+dirname+'/epy-init.el', [])
示例#3
0
def compile_el_file(fn):
    """
    Compile an emacs file FN
    """
    sh_cmdln("emacs -Q -l epy-init.el -batch -f batch-byte-compile",[fn])
示例#4
0
文件: package.py 项目: 3dimaging/pdee
def test_run():
    sh_cmdln('emacs -Q -l epy-init.el', [])
示例#5
0
文件: package.py 项目: Melecio/emacs
def test_run():
    sh_cmdln('emacs -Q -l epy-init.el', [])