summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog37
-rw-r--r--debian/compat1
-rw-r--r--debian/control27
-rw-r--r--debian/copyright23
-rw-r--r--debian/docs2
-rw-r--r--debian/litmus.udev3
-rw-r--r--debian/postinst41
-rw-r--r--debian/postrm39
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
10 files changed, 186 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7a43e7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,37 @@
+litmus (0.3.0-1) unstable; urgency=low
+
+ * Update projects/topology file location
+ * Add projects/topology param at command prompt
+
+ -- Donghoon Shin <dhs.shin@samsung.com> Mon, 19 Sep 2016 12:39:00 +0900
+
+litmus (0.2.1-1) unstable; urgency=low
+
+ * Update import command to use shell-like path expansions
+ * Update mock device type to avoid sdb error
+ * Update default templates for u3 and xu3
+
+ -- Donghoon Shin <dhs.shin@samsung.com> Fri, 9 Sep 2016 15:00:00 +0900
+
+litmus (0.2.0-1) unstable; urgency=low
+
+ * Remove acmlock routine to imporve test performance
+ * Support flash function for mock device type
+ * Update test helper functions
+
+ -- Donghoon Shin <dhs.shin@samsung.com> Fri, 9 Sep 2016 10:03:05 +0900
+
+litmus (0.1.1-1) unstable; urgency=low
+
+ * Add ttyS0 in uarts list
+ * Release global lock at exception of device.on() function
+ * Turn off device if keyboard interrupt is raised while flashing or turning on device
+ * Add timeout for all call/check_output to avoid hang issue
+
+ -- Donghoon Shin <dhs.shin@samsung.com> Mon, 27 Jun 2016 14:29:31 +0900
+
+litmus (0.1.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Donghoon Shin <dhs.shin@samsung.com> Thu, 09 Jun 2016 18:08:19 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..049fa9a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: litmus
+Section: devel
+Priority: optional
+Maintainer: Donghoon Shin <dhs.shin@samsung.com>
+Build-Depends: debhelper (>= 8.0.0), python3 (>= 3.3), python3-setuptools (>= 3.3)
+Standards-Version: 3.9.4
+Homepage: http://www.tizen.org
+X-Python-Version: >= 3.3
+
+Package: litmus
+Architecture: any
+Depends: ${python3:Depends}, ${misc:Depends},
+ python3 (>= 3.3),
+ python3-serial (>= 2.6),
+ python3-yaml (>= 3.10),
+ python3-requests (>= 2.2.1),
+ python3-bs4 (>= 4.2.1),
+ python3-fasteners (>= 0.12),
+ git (>= 1.9),
+ lthor (>= 2.0),
+ sdb (>= 2.2.4),
+ clewarecontrol (>= 4.1),
+ smartpower (>= 0.1),
+ heimdall-flash (>= 1.4.1-2),
+Description: Lightweight test manager for tizen automated testing
+ Litmus is a tool for managing test projects and supporting APIs for automated testing.
+ Supported API : turn on / off device, Run commands / push and pull files over sdb
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4647046
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: litmus
+Source: http://www.tizen.org
+
+Files: *
+Copyright: 2015-2016 Samsung Electronics Co., Ltd.
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a18c7d9
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+CHANGES.txt
+README.md
diff --git a/debian/litmus.udev b/debian/litmus.udev
new file mode 100644
index 0000000..2630965
--- /dev/null
+++ b/debian/litmus.udev
@@ -0,0 +1,3 @@
+KERNEL=="hidraw[0-9]*", SUBSYSTEM=="hidraw", MODE="0666"
+KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", MODE="0666"
+KERNEL=="ttyS0", SUBSYSTEM="tty", MODE="0666"
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..65629a5
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for litmus
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+[ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..dd11900
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postrm script for litmus
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+[ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e090276
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+ make clean
+
+# Commands not to run.
+override_dh_strip override_dh_makeshlibs override_dh_shlibdeps override_dh_auto_test:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)