cdxgen
cdxgen copied to clipboard
Repo tests for c needs a clean slate
For c language, atom is invoked to create the usages slices. Due to some recent optimizations, any existing .atom and slices file gets reused. Since repotests for c is getting invoked from a parent directory, slices belonging to previous executions are getting reused. This is evident from the following output where java files are reported for c.
╔═══════════════════════════╤═════════════════════════════════════╤═══════════════════════════╤═════════════════╗
║ Group │ Name │ Version │ Scope ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝
╟───────────────────────────┼─────────────────────────────────────┼───────────────────────────┼─────────────────╢
║ src/main/java/org/joychou │ Application │ │ ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝
╟───────────────────────────┼─────────────────────────────────────┼───────────────────────────┼─────────────────╢
║ src/main/java/org/joychou │ Constants │ │ ║
║ /config │ │ │ ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝
╟───────────────────────────┼─────────────────────────────────────┼───────────────────────────┼─────────────────╢
║ src/main/java/org/joychou │ CsrfTokenBean │ │ ║
║ /config │ │ │ ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝