-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 776a4c1
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
|
||
project(dummy_package) | ||
|
||
find_package(ament_cmake_nose REQUIRED) | ||
|
||
ament_add_nose_test(test_timeout | ||
test/test_timeout.py | ||
TIMEOUT 5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>dummy_package</name> | ||
<version>0.0.0</version> | ||
<description>dummy package for testing</description> | ||
<maintainer email="dummy@test.com">dummy</maintainer> | ||
<license>dummy</license> | ||
|
||
<export> | ||
<build_type>ament_python</build_type> | ||
</export> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from setuptools import find_packages | ||
from setuptools import setup | ||
|
||
setup( | ||
name='dummy_package', | ||
version='0.0.0', | ||
packages=find_packages(exclude=['test']), | ||
install_requires=['setuptools'], | ||
author='dummy', | ||
author_email='dummy@osrfoundation.org', | ||
maintainer='dummy', | ||
maintainer_email='dummy@osrfoundation.org', | ||
keywords=['ROS'], | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development', | ||
], | ||
description='dummy package for testing', | ||
long_description='''\ | ||
This package provides helper scripts for writing tests that use the ROS launch tool.''', | ||
license='Apache License, Version 2.0', | ||
test_suite='test', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
def test_timeout(): | ||
while(1): | ||
pass | ||
|
||
if __name__ == '__main__': | ||
test_timeout() |