Skip to content
Merged
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ dist/
out.txt
*.pyc
dtrace/dtrace.c
.tox
2 changes: 1 addition & 1 deletion dtrace/dtrace.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import time
import threading
from threading import Thread
from dtrace.dtrace_h cimport *
from dtrace_h cimport *

# ----------------------------------------------------------------------------
# The DTrace callbacks
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py26, py27

[testenv]
commands = sudo python examples/syscall_count.py
deps = Cython