Move haskell test code to htest/
This is the first commit of a series that will attempt to cleanup the test code organisation, which evolved somewhat organically from the initial pure htools functionality. The proposed organisation of the tree will be as follows: - htools (or maybe renamed to haskell or hs): only production code - htest: top-level test directory, containing test.hs, static helper scripts, etc. - htest/Ganeti/*.hs: modules implementing the actual test properties and test cases for the correspondingly-named production code modules - htest/data: containing test data files for the test cases This particular patch moves all the test code (test.hs, hpc-htools.hs symlink) and helper scripts (offline-test.sh, etc.) from htools/ to htest/, while updating the files themselves (if they had paths mentioning htools/), .gitignore and the Makefile. The only special mention is that in Makefile, we used to have a BINARY shell variable in binary build rule; that was computed via stripping `htools/' prefix; I've cleaned that and replaced with $(notdir $@); even though it's duplicated a few times, it leads to more readable make output (and easier to copy-paste). Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Agata Murawska <agatamurawska@google.com>
Showing
- .gitignore 5 additions, 2 deletions.gitignore
- Makefile.am 25 additions, 25 deletionsMakefile.am
- autotools/run-in-tempdir 11 additions, 4 deletionsautotools/run-in-tempdir
- htest/cli-tests-defs.sh 1 addition, 1 deletionhtest/cli-tests-defs.sh
- htest/hpc-htools.hs 1 addition, 0 deletionshtest/hpc-htools.hs
- htest/live-test.sh 0 additions, 0 deletionshtest/live-test.sh
- htest/offline-test.sh 0 additions, 0 deletionshtest/offline-test.sh
- htest/test.hs 0 additions, 0 deletionshtest/test.hs
- htools/hpc-htools.hs 0 additions, 1 deletionhtools/hpc-htools.hs
Loading
Please register or sign in to comment