~ubuntu-branches/ubuntu/raring/ipython/raring

« back to all changes in this revision

Viewing changes to debian/tests/incomplete-install

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-02-02 11:14:27 UTC
  • mfrom: (1.2.21) (6.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130202111427-nxxl7g1ulix8g9lg
Tags: 0.13.2~rc2-1
* New upstream release candidate (LP: #1161818, #1162112)
* pass -a to xvfb-run
* drop DM-Upload-Allowed, not needed anymore
* don't link documentation of ipython-doc so ipython3 does not depend on
  ipython (Closes: #695554)
  Requires ipython-doc.preinst to not lose copyright on upgrade
* add ipython3 and ipython3-qtconsole desktop files (Closes: #693612)
* fix detection of cython modules for multiarch python (Closes: #697704)
* don't install tests for notebook and qtconsole
* bump standard to 3.9.4, no changes required
* add autopkgtests running testsuite and testing tools, cython magics
  and incomplete install message
* fix crash on tracebacks without line numbers (Closes: #701597)
* add tkinter package to debianize-error-messages.patch (Closes: #701707)
* use canonical vcs fields in control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -efu
 
3
 
 
4
export HOME=$ADTTMP
 
5
cd $ADTTMP
 
6
 
 
7
# check that the incomplete install message works
 
8
# skipped if installed to ensure test does not block
 
9
 
 
10
if dpkg-query -Wf'${db:Status-abbrev}' ipython-notebook 2>/dev/null | grep -q '^i'; then
 
11
  echo "Notebook installed. Skipping test."
 
12
else
 
13
  ipython notebook
 
14
fi
 
15
 
 
16
if dpkg-query -Wf'${db:Status-abbrev}' ipython-qtconsole 2>/dev/null | grep -q '^i'; then
 
17
  echo "Qtconsole installed. Skipping test."
 
18
else
 
19
  ipython qtconsole
 
20
fi
 
21
 
 
22
if dpkg-query -Wf'${db:Status-abbrev}' ipython3-notebook 2>/dev/null | grep -q '^i'; then
 
23
  echo "Notebook3 installed. Skipping test."
 
24
else
 
25
  ipython3 notebook
 
26
fi
 
27
 
 
28
if dpkg-query -Wf'${db:Status-abbrev}' ipython3-qtconsole 2>/dev/null | grep -q '^i'; then
 
29
  echo "Qtconsole3 installed. Skipping test."
 
30
else
 
31
  ipython3 qtconsole
 
32
fi