unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Tests and python scripts
Date: Fri, 10 Apr 2015 13:13:13 +0100	[thread overview]
Message-ID: <CAAdUY-JfpQA+H5D++uuEngc3hV7yMELPN_gwYqGx_DPM68hkeQ@mail.gmail.com> (raw)

In order to test package.el async function's I need to access an
actual webserver (as opposed to a regular directory).

For that purpose, I've written a test that uses a python2 script to
locally serve a directory.
It works fine on my computer, but, before pushing, I'd like to check
what's the correct protocol for running scripts in the tests?

1. Can I simply do (start-process "server" nil "python2" script-file)?
I imagine hydra will have python available, but is that the right
executable name?
2. Does this external dependency need to mentioned anywhere? Or do I
just check `executable-find' as part of the test?
3. Any other considerations?


Cheers
Artur



             reply	other threads:[~2015-04-10 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 12:13 Artur Malabarba [this message]
2015-04-10 12:26 ` Tests and python scripts Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAdUY-JfpQA+H5D++uuEngc3hV7yMELPN_gwYqGx_DPM68hkeQ@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).