Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ pkg/
/.yardoc/
test/gem_home
tmp/

Gemfile.lock
8 changes: 4 additions & 4 deletions test/cli/test_watch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ module CLI
@pkg_set_manifest_file = File.join(pkg_set_manifest_dir,
"tools", "package.xml")

FileUtils.touch(manifest_file)
FileUtils.touch(ros_manifest_file)
File.write(manifest_file, "<package />")
File.write(ros_manifest_file, "<package />")
FileUtils.touch(autobuild_file)
FileUtils.touch(ruby_file)
FileUtils.mkdir_p(File.join(pkg_set_manifest_dir, "tools"))
FileUtils.touch(pkg_set_manifest_file)
File.write(pkg_set_manifest_file, "<package />")
sleep 0.1
cli.update_workspace
cli.setup_notifier
cli.start_watchers
end
after do
cli.cleanup_notifier
cli.cleanup_notifier if cli.notifier
end

def process_events
Expand Down
Loading