Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Integration tests for prepare_os_context#114

Open
mmsc2 wants to merge 7 commits into
mainfrom
PrepareOsContext
Open

Integration tests for prepare_os_context#114
mmsc2 wants to merge 7 commits into
mainfrom
PrepareOsContext

Conversation

@mmsc2
Copy link
Copy Markdown
Contributor

@mmsc2 mmsc2 commented Nov 9, 2022

No description provided.

@mmsc2 mmsc2 changed the title [WIP] Integration tests for prepare_os_context Integration tests for prepare_os_context Nov 10, 2022
Copy link
Copy Markdown
Contributor

@Oppen Oppen left a comment

Choose a reason for hiding this comment

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

LGTM except from the questions below.
On another note, we should start thinking about adding a proper test framework for Python I believe. Probably PyTest.

Comment thread Makefile
maturin develop && \
python3 hints_tests.py && \
python3 get_builtins_initial_stack.py && \
./run_python_tests.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.

Is the PYENV_VERSION still the same here? I'm not entirely sure if the venv takes care of that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As far as i know yes, venv takes care about the python version with which the tests are ran.

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.

Can you make sure?

Comment thread run_python_tests.sh
Comment on lines +2 to +7
echo "Running hint tests"
python3 tests/hints_tests.py
python3 tests/get_builtins_initial_stack.py

echo "Running prepare_os_context integration tests"
python3 tests/prepare_os_context.py
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.

Same question.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants