-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CTG] Update env_dir #539
base: dev
Are you sure you want to change the base?
[CTG] Update env_dir #539
Conversation
This will change the script to run CTG, all scripts will now require a new command line parameter otherwise existing scripts will stop working, I don't recommend such changes which will affect all users without proper discussion and documentation. This will require changes in the documentation and announcement for everyone that a new CLI parameter has been added. |
what about keep the default value to |
done |
@trdthg since the CTG is now part of riscv-arch-tests, I dont find any reason to keep this variable dynamic, it can be set as |
Agree However, there is another issue: Python uses the current working directory as To obtain the correct file path for current_dir = os.path.dirname(os.path.abspath(__file__))
env_dir = os.path.join(current_dir, "../../riscv-test-suite/env") But it is important to remind users to use |
Signed-off-by: MingZhu Yan <yanmingzhu@iscas.ac.cn>
@trdthg I have added the command |
Thank you, no need to update I just want to let users know that if they don't do that, error will occur |
Description
#529 I think that a fixed env_dir either
./
or~/riscv-arch-test/riscv-test-suite/env
is not suitable for everyone anyway.Why not set it as a new cli param?