-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change build system from rebar2 to ... #30
Comments
I vote for rebar3 since it is now part of OTP. I like the idea of using pcapfile for testing. One possible concern: if we have a lot of binary test data in the repo, it will affect users of the prod profile as well. |
+1 for rebar3 too. How a lot of pcaps will affect users of the prod profile? Size of repo will grow? |
Will replace rebar2 to rebar3 in separate branch |
@ates about the test data: right, depends how much test data we plan on adding. We could end up with Kb of code and Mb's of test data. I don't know if this will really be an issue. We could create another repo for pcap data. Another option is using the files from pcapr.net but I'm not sure about the license. About the rebar3 branch: looks good!
|
The overhead of using pcap files is 24 bytes for file header and 16 bytes for record header - 40 bytes in total. Don't think it's too much :) Anyway, let's try to start using pcap files as test data, in case of some problems then move they to another repo or something else. Fixed makefile and rebar3 binary was removed from repo. I will update README about compilation |
On Mar 18, 2016 11:09 AM, "Artem Teslenko" [email protected] wrote:
Agreed :)
The weird thing will be that we'll have files included in the prod profile
Sorry for nitpicking. Just want to consider all the possibilities.
Thanks!
|
BTW the rebar3 branch looks good. It can be merged any time. Having the pcap files in the tests are fine. I'll experiment with mirroring the pcapr files and running pkt on them sometime. |
Using pcap files from pcapr would be good. Not sure is it possible without login/pass. |
Found a better source for future tests: https://github.com/the-tcpdump-group/tcpdump/tree/master/tests These are taken from http://packetlife.net/captures/ |
Nice, need to think how to reuse this in pkt |
Hmm, can't find any dumps with SCTP inside |
wireshark seems to have some: https://wiki.wireshark.org/SampleCaptures#Stream_Control_Transmission_Protocol_.28SCTP.29 |
Merged rebar3 branch to master |
Hi,
What do you think about that? Proposed systems are rebar3 or erlang.mk.
The main reason for me, it's to have separate profiles for prod and test.
I want include https://github.com/ates/pcapfile library to use in tests and use real pcap files as test data.
The text was updated successfully, but these errors were encountered: