Bug 2251 - Some callbacks comparisons fail
Some callbacks comparisons fail
Product: ns-3
Classification: Unclassified
Component: core
PC Linux
: P5 enhancement
Assigned To: Peter Barnes
Depends on: 2457
  Show dependency treegraph
Reported: 2016-01-05 09:03 EST by Matthieu Coudron
Modified: 2016-11-29 08:00 EST (History)
2 users (show)

See Also:

add tests to callback test suite (2.33 KB, patch)
2016-01-05 09:03 EST, Matthieu Coudron
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Coudron 2016-01-05 09:03:10 EST
Created attachment 2222 [details]
add tests to callback test suite

This bug report is a follow up of what I had described in http://mailman.isi.edu/pipermail/ns-developers/2015-August/013003.html

I've added some tests to the callback testsuite as an attachment. You can run it with:
./waf --run "test-runner --suite=callback --verbose"
and it should fail on ns3dev commit "remove unrelated attribute configuration" (b84feab700aab6939608319eb24e6ac99d210a57 in git).

I had a partial unclean fix here:

but certainly with c++11 and variadic templates it should be easier & cleaner to fix this bug.