Skip to content

Makefile to Bazel targets - #218

Open
sachichakrabarti wants to merge 4 commits into
mainfrom
internal/replace-makefile-with-bazel-targets
Open

Makefile to Bazel targets#218
sachichakrabarti wants to merge 4 commits into
mainfrom
internal/replace-makefile-with-bazel-targets

Conversation

@sachichakrabarti

@sachichakrabarti sachichakrabarti commented Jul 17, 2026

Copy link
Copy Markdown
  1. Added bazel target to /trlc/tests-large-partial
  2. Changed make command to bazel commands for following
    i. Unit-tests
    ii. system-tests
    iii. test-large-partial
  3. Updated ci.yml and docs.yml

@sachichakrabarti
sachichakrabarti requested a review from a team as a code owner July 17, 2026 08:28
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch from e273f98 to ccaf517 Compare July 20, 2026 07:47
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch from 4a94152 to ccaf517 Compare July 20, 2026 10:36
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch from a91e70c to ccaf517 Compare July 21, 2026 04:12
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch 3 times, most recently from 158b4ed to 41638ac Compare July 22, 2026 09:32
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch from 41638ac to 04c51c6 Compare July 22, 2026 09:48

@phiwuu phiwuu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please update the section on make test in file documentation/dev_setup.md

@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch 3 times, most recently from 6638ada to ead1c8c Compare July 23, 2026 13:26
@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch from ead1c8c to 3cb4884 Compare July 23, 2026 13:32
@sachichakrabarti sachichakrabarti added the topic: bazel affects the bazelizing of the repository label Jul 24, 2026
@mugdhadhole1 mugdhadhole1 added the internal Affects the CI, tests or refactorings only, not relevant to the end-user label Jul 27, 2026
Comment thread Makefile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this file
unit and system test targets are replaced with bazel targets
This is going to affect the coverage

coverage run -p --rcfile=coverage.cfg --branch --data-file .coverage \

This command is going to expect the .coverage/.coverage.* files and bazel test doesn't write to these files.
This will most certainly give an incorrect coverage

Comment thread Makefile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do remove the make commands if they are replaced with the bazel targets

Comment thread .github/workflows/ci.yml
- name: Check output files
if: always()
run: |
util/check_local_modifications.sh

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this line removed?

Comment thread .github/workflows/ci.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI shows only 3 tests.

Executed 3 out of 3 tests: 3 tests pass.

Some unit test files are missing the main entry point

if __name__ == "__main__":
    unittest.main()

@sachichakrabarti
sachichakrabarti force-pushed the internal/replace-makefile-with-bazel-targets branch 3 times, most recently from 898fa02 to 40c9c04 Compare July 29, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Affects the CI, tests or refactorings only, not relevant to the end-user topic: bazel affects the bazelizing of the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants