aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/eprof_SUITE_data
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-06-03 19:39:12 +0200
committerBjörn-Egil Dahlberg <[email protected]>2010-06-09 14:26:05 +0200
commit916eb8c7771548af62f1d825c93016fb1e3629b1 (patch)
treeaef04acb0f84d735cef718d275d4491a8a76b419 /lib/tools/test/eprof_SUITE_data
parent7727bce757f709e94ea39dae3cbcf09c370e6b12 (diff)
downloadotp-916eb8c7771548af62f1d825c93016fb1e3629b1.tar.gz
otp-916eb8c7771548af62f1d825c93016fb1e3629b1.tar.bz2
otp-916eb8c7771548af62f1d825c93016fb1e3629b1.zip
Update eprof_SUITE with more basic tests
Diffstat (limited to 'lib/tools/test/eprof_SUITE_data')
-rw-r--r--lib/tools/test/eprof_SUITE_data/eprof_test.erl9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tools/test/eprof_SUITE_data/eprof_test.erl b/lib/tools/test/eprof_SUITE_data/eprof_test.erl
new file mode 100644
index 0000000000..33c428e893
--- /dev/null
+++ b/lib/tools/test/eprof_SUITE_data/eprof_test.erl
@@ -0,0 +1,9 @@
+-module(eprof_test).
+-export([go/1]).
+
+go(N) ->
+ 0 = dec(N),
+ ok.
+
+dec(0) -> 0;
+dec(N) -> dec(N - 1).