cdxgen icon indicating copy to clipboard operation
cdxgen copied to clipboard

Repo tests for c needs a clean slate

Open prabhu opened this issue 3 months ago • 0 comments

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                   │                                     │                           │                 ║
╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝

prabhu avatar May 03 '24 11:05 prabhu