예제 #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', [])