Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  gen_stream tests success proof

jay
Posted: Fri Jul 16, 2010 5:09 pm Reply with quote
User Joined: 06 Sep 2006 Posts: 139 Location: Los Angeles, CA USA
I committed a new proof version of lib/stdlib/test/gen_stream_SUITE.erl

git fetch git://github.com/jaynel/otp.git gen_stream


I'm not sure if my environment is wrong or what, but every time I run
shell_SUITE.erl it fails on line 384 and line 584 (even if I start from
scratch and call no other tests):

384: ?line PreReply = scan(<<"rr(prim_file).">>), % preloaded...

584: ?line PA = filename:dirname(code:which(?MODULE)),


The latter seemed to be the simplest way to test if the code loader is
still working. So I sprinkled it into every test function in
gen_stream_SUITE.erl and at the end of the last test function.

My result: no failures.

Try it on your environment and see if you get different results. This
last commit is a test proof, it shouldn't be included if there is a
graduated release.




________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message Visit poster's website
jay
Posted: Fri Jul 16, 2010 5:09 pm Reply with quote
User Joined: 06 Sep 2006 Posts: 139 Location: Los Angeles, CA USA
I committed a new proof version of lib/stdlib/test/gen_stream_SUITE.erl

git fetch git://github.com/jaynel/otp.git gen_stream


I'm not sure if my environment is wrong or what, but every time I run
shell_SUITE.erl it fails on line 384 and line 584 (even if I start from
scratch and call no other tests):

384: ?line PreReply = scan(<<"rr(prim_file).">>), % preloaded...

584: ?line PA = filename:dirname(code:which(?MODULE)),


The latter seemed to be the simplest way to test if the code loader is
still working. So I sprinkled it into every test function in
gen_stream_SUITE.erl and at the end of the last test function.

My result: no failures.

Try it on your environment and see if you get different results. This
last commit is a test proof, it shouldn't be included if there is a
graduated release.




________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum