mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Tests: fix --create argument in convert_instlatx64 tool
This commit is contained in:
parent
08b4b6e41b
commit
d97618ab4f
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if(argc < 3)
|
||||
{
|
||||
fprintf(stderr, "Usage: %s <input file (from instlatx64)> <output file (without extension)>\n", argv[0]);
|
||||
fprintf(stderr, "Usage: %s <input file (from instlatx64)> <output file (without extension)> [--create]\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/* Invoke create_test */
|
||||
snprintf(cmd, CMD_LEN, "./create_test.py %s %s > %s.test", raw_filename, report_filename, output_filename);
|
||||
snprintf(cmd, CMD_LEN, "%s/tests/create_test.py %s %s > %s.test", libcpuid_directory, raw_filename, report_filename, output_filename);
|
||||
if((argc > 3) && !strcmp(argv[3], "--create"))
|
||||
{
|
||||
if(system(cmd))
|
||||
|
|
Loading…
Reference in a new issue