Rename mock device type to standalone device type 49/89949/1 release-20160930 upstream/0.3.1
authorDonghoon Shin <dhs.shin@samsung.com>
Wed, 28 Sep 2016 00:39:12 +0000 (09:39 +0900)
committerDonghoon Shin <dhs.shin@samsung.com>
Wed, 28 Sep 2016 00:39:50 +0000 (09:39 +0900)
Change-Id: I1d310502b249ce68a2c921457fb03aac1c957f63

CHANGES.txt
README.md
debian/changelog
litmus/__init__.py
litmus/core/manager.py

index d5af636e15b8ebd681cef76b85075431f54e58ec..a219c428037ed2ff5c6ea974a6a8e0d3c79946f8 100644 (file)
@@ -16,21 +16,21 @@ Version 0.1.1   27 Jun 2016
 Version 0.2.0    9 Sep 2016
 ---------------------------
 - Remove acmlock routine to improve test performance
-- Support flash function for mock device type
+- Support flash function for standalone device type
 - Update test helper functions
 
 Version 0.2.1    9 Sep 2016
 ---------------------------
 - Update import command to use shell-like path expansions
-- Update mock device type to avoid sdb error
+- Update standalone device type to avoid sdb error
 - Update default templates for u3 and xu3
 
 Version 0.3.0   21 Sep 2016
 ---------------------------
 - Update projects/topology file location
 - Add projects/topology param at command prompt
-- Support multiple mock devices in topology
-- Add global lock for mock device type
+- Support multiple standalone devices in topology
+- Add global lock for standalone device type
 
 Version 0.3.1   22 Sep 2016
 ---------------------------
index 98cb6f7e27d2cb2ae166be2343cfad53a1fd7a6a..8bea69bca98513b02ed74a14156c33e3afbcbd04 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,18 +1,19 @@
 Litmus is an automated testing tool for tizen arm devices.
 
+
 Prerequisite
 ---------------------
 
 Litmus uses sdb to communicate with device.
 sdb is not released on download.tizen.org/tools but you can find it from sdk.
 
-Installing sdb from tizen sdk or download binary from below url.
+Install sdb from tizen sdk or download binary from below url.
 
 32bit:
-http://download.tizen.org/sdk/sdk-packages/official/binary/sdb_2.2.83_ubuntu-32.zip
+http://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.2.89_ubuntu-32.zip
 
 64bit:
-http://download.tizen.org/sdk/sdk-packages/official/binary/sdb_2.2.83_ubuntu-64.zip
+http://download.tizen.org/sdk/tizenstudio/official/binary/sdb_2.2.89_ubuntu-64.zip
 
 Unzip this package and copy sdb binary to /usr/bin
 
@@ -42,16 +43,18 @@ Getting started
 
 1. Create a litmus project:
 
-   $ litmus mk myproject
+   $ litmus mk <new_project_name>
 
 2. Modify <project_path>/userscript.py and <project_path>/conf.yaml
 
 3. Run the litmus project
 
-   $ litmus run myproject
+   $ litmus run <new_project_name>
 
 
 Please refer to litmus wiki for more details.
 
+
 https://github.com/dhs-shine/litmus/wiki
+
 https://wiki.tizen.org/wiki/Litmus
index 6c83b990b7248a87ba1a6bf0bb0926df09d8c1f2..842a097cbf26c48e611a48da511bd6c0f5d23a9a 100644 (file)
@@ -8,15 +8,15 @@ litmus (0.3.0-1) unstable; urgency=low
 
   * Update projects/topology file location
   * Add projects/topology param at command prompt
-  * Support multiple mock devices in topology
-  * Add global lock for mock device type
+  * Support multiple standalone devices in topology
+  * Add global lock for standalone device type
 
  -- Donghoon Shin <dhs.shin@samsung.com>  Wed, 21 Sep 2016 15:08: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 standalone 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
@@ -24,7 +24,7 @@ litmus (0.2.1-1) unstable; urgency=low
 litmus (0.2.0-1) unstable; urgency=low
 
   * Remove acmlock routine to imporve test performance
-  * Support flash function for mock device type
+  * Support flash function for standalone device type
   * Update test helper functions
 
  -- Donghoon Shin <dhs.shin@samsung.com>  Fri,  9 Sep 2016 10:03:05 +0900
index 3cb3ccd35a525100342c8c322d21d628074e0391..abbddaf63ecfda2e99310645973327789c3735fe 100644 (file)
@@ -21,4 +21,4 @@ _duts_ = os.path.join(_confdir_, 'topology')
 _projects_ = os.path.join(_confdir_, 'projects')
 _tmpdir_ = '/tmp'
 _path_for_locks_ = '/var/lock/litmus/'
-_dev_types_ = ('u3', 'xu3', 'mock', 'empty')
+_dev_types_ = ('u3', 'xu3', 'standalone', 'empty')
index 183d8c3f442d43d17fcb53d29a249bab1cfd57bd..b0b27a496c378991ecb037153bc024b280e7f054 100644 (file)
@@ -312,15 +312,3 @@ Lightweight test manager for tizen automated testing
 
             # Append items
             self._all_devices.append(items)
-
-        if not next((d for d in self._all_devices if d['dev_type'] == 'mock'),
-                    None):
-            # Add mock device
-            mock_devicename = 'MOCK_001'
-            mock_ilock_filename = os.path.join(self._path_for_locks,
-                                               mock_devicename)
-            mock = {'devicename': mock_devicename,
-                    'dev_type': 'mock',
-                    'tlock': Lock(),
-                    'ilock': fasteners.InterProcessLock(mock_ilock_filename)}
-            self._all_devices.append(mock)