コード例 #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', [])