Example #1
0
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', [])
Example #2
0
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', [])
Example #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])
Example #4
0
def test_run():
    sh_cmdln('emacs -Q -l epy-init.el', [])
Example #5
0
def test_run():
    sh_cmdln('emacs -Q -l epy-init.el', [])