Skip to content

Remove unit tests for duplicate-code detection#4689

Merged
RasmusWL merged 1 commit into
mainfrom
hmakholm/pr/no-dup-code-tests
Nov 19, 2020
Merged

Remove unit tests for duplicate-code detection#4689
RasmusWL merged 1 commit into
mainfrom
hmakholm/pr/no-dup-code-tests

Conversation

@hmakholm
Copy link
Copy Markdown
Contributor

The old Semmle duplicate-code detection code has never been done when extracting databases for the CodeQL CLI, except that codeql test run will run it just in order to support tests of the feature. With the sunsetting of Odasa there's no need to even test the feature anymore.

This PR removes those tests that fail when the duplicate-code detector is turned off. Once it is merged and bumped, we can finally remove it from codeql.

(The underlying queries are still present; I'll leave their deletion to the language teams).

The old Semmle duplicate-code detection code has never been done when
extracting databases for the CodeQL CLI, except that `codeql test run`
will run it _just_ in order to support tests of the feature. With the
sunsetting of Odasa there's no need to even _test_ the feature anymore.

This commit removes those tests that fail when the duplicate-code
detector is turned off. Once it is merged and bumped, we can finally
remove it from `codeql`.
@RasmusWL RasmusWL merged commit 2945ead into main Nov 19, 2020
@RasmusWL RasmusWL deleted the hmakholm/pr/no-dup-code-tests branch November 19, 2020 09:07
hmakholm pushed a commit that referenced this pull request Nov 20, 2020
In #4689 I forgot to remove the `.expected` files too, but they are
now of course useless.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants