2014年6月5日 星期四
2014年6月4日 星期三
Linux 設定時區
Ubuntu: dpkg-reconfigure tzdata
Redhat: redhat-config-date
CentOS/Fedora: system-config-date
FreeBSD/Slackware: tzselect
References :
3 Ways to Change the Timezone in Linux - wikiHow
Redhat: redhat-config-date
CentOS/Fedora: system-config-date
FreeBSD/Slackware: tzselect
References :
3 Ways to Change the Timezone in Linux - wikiHow
Grub2 config file
No /boot/grub/menu.lst. It has been replaced by /boot/grub/grub.cfg.
References :
Grub2 - Community Help Wiki
References :
Grub2 - Community Help Wiki
2014年6月3日 星期二
nose.selector: INFO: test/test_foo.py is executable; skipped
搜尋測試檔案
$ nosetests -vv --collect-only test/nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']nose.selector: INFO: test/test_foo.py is executable; skipped
強制執行測試
$ nosetests --exe -v test
--exe Look for tests in python modules that are executable. Normal behavior is to exclude executable modules, since they may not be import-safe [NOSE_INCLUDE_EXE]
References :
python - Run all Tests in Directory Using Nose - Stack Overflow
Why Django nose test need --exe? - Stack Overflow
make: `test' is up to date.
To force rebuild on these kind of not-file-related targets, you should make them phony as follows:
References :
makefile - Why does make think the target is up to date? - Stack Overflow
$ vi Makefile .PHONY: all test clean
References :
makefile - Why does make think the target is up to date? - Stack Overflow
2014年6月2日 星期一
訂閱:
文章 (Atom)