-
Notifications
You must be signed in to change notification settings - Fork 84
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
Problem Description : Ruby test was not available on autotest. #100
base: master
Are you sure you want to change the base?
Conversation
Fix : Added ruby test suits to autotest. Signed-off By: Anup Kumar <[email protected]>
Trigger test run | ||
""" | ||
try: | ||
os.environ["LTPBIN"] = "%s/shared" %(test_path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider using os.path.join()
""" | ||
try: | ||
os.environ["LTPBIN"] = "%s/shared" %(test_path) | ||
ret_val = subprocess.Popen(['./ruby.sh'], cwd="%s/ruby" %(test_path)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
if ret_val.returncode != 0: | ||
self.nfail += 1 | ||
|
||
except error.CmdError, e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use proper variable name instead of e
here and elsewhere
usage: | ||
------ | ||
cd /opt/fiv/ltp/testcases/fivextra/ruby | ||
./ruby.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to run from autotest path.
Fix : Added ruby test suits for autotest.
Signed-off By: Anup Kumar [email protected]