Skip to content

Commit

Permalink
docs(report): generate correct .sh file of nbench with lkp job2sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dc3671 committed Jan 20, 2016
1 parent d0392b1 commit a6da379
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions analysis/bin/lkp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
lkp-tests' main script.

`lkp run *.yaml` > run-local
`lkp run *.sh` > run-local.sh
8 changes: 8 additions & 0 deletions report.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 01-21 ##

先在本机试运行nbench,一切正常。

之后按照先前的理解,改写nbench的四个脚本。改完后,尝试运行,失败。发现`.sh`文件少了`run_tests`这一行,所以实际上并没有运行程序。

经过调试、阅读代码后,在`lib/job2sh.rb`里,无意之下搜`run_test`,发现有一个对可执行权限的过滤,尽管这里不一定和我的问题相关,但是启发了我把所有脚本的权限检查了一遍,果然加上可执行之后,问题解决。

## 01-20 ##

**周度工作总结:**
Expand Down

0 comments on commit a6da379

Please sign in to comment.