Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood committed Jun 2, 2016
0 parents commit 776a4c1
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__
9 changes: 9 additions & 0 deletions dummy_package/CMakeLists.txt
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)
12 changes: 12 additions & 0 deletions dummy_package/package.xml
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>
25 changes: 25 additions & 0 deletions dummy_package/setup.py
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',
)
6 changes: 6 additions & 0 deletions dummy_package/test/test_timeout.py
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()

0 comments on commit 776a4c1

Please sign in to comment.