seed-labs / seed-emulator

A Python framework for creating emulation of the Internet.
GNU General Public License v3.0
213 stars 79 forks source link

Problem with compiled Test cases #225

Closed Bruol closed 7 months ago

Bruol commented 7 months ago

The Compiled test cases are currently failing, because the naming of A01-simple-peering was not updated to A01-simple-as. Also the A02-transit-as was updated which in turn breaks test cases A04-visualization and A05-components

I suggest the following fix:

  "A00-simple-as": (["simple-as.py"] , ["output"]),
   "A01-transit-as" : (["old-transit-as.py"], ["output", "base-component.bin"]),

instead of

  "A00-simple-peering": (["simple-peering.py"] , ["output"]),
  "A01-transit-as" : (["transit-as.py"], ["output", "base-component.bin"]),

in https://github.com/seed-labs/seed-emulator/blob/master/test/compile-test/compile-test.py

wonkr commented 7 months ago

We are reorganizing the examples so it causes this issue. The updated version is already in the development branch. We will revise the compile-test.py as well once we finished to update the example folders. Thanks.