]> git.eshelyaron.com Git - emacs.git/commitdiff
compdb: add project detection tests
authorAlastair Rankine <alastair@girtby.net>
Fri, 3 Apr 2015 17:46:57 +0000 (13:46 -0400)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 16:26:19 +0000 (18:26 +0200)
test/manual/cedet/cedet/ede/detect-utest.el

index 9ad1d57ff3e34f22c00afac46a4236f4344626c8..d98eff1dcaf0432fdded7f9a6f4e93b81790cf20 100644 (file)
@@ -156,6 +156,14 @@ It is passed the root project found.")
                     :classp 'ede-linux-project-p)
    (ede-detect-entry "linux sub" :file "src/linux/scripts/ver_linux"
                     :classp 'ede-linux-project-p)
+   (ede-detect-entry "compdb" :file "src/compdb/detect/main.cpp"
+                    :classp 'ede-compdb-project-p)
+   (ede-detect-entry "compdb sub" :file "src/compdb/detect/includes/foo.h"
+                    :classp 'ede-compdb-project-p)
+   (ede-detect-entry "ninja" :file "src/compdb/detect-ninja/main.cpp"
+                    :classp 'ede-ninja-project-p)
+   (ede-detect-entry "ninja sub" :file "src/compdb/detect-ninja/includes/foo.h"
+                    :classp 'ede-ninja-project-p)
    ;; jvm-base based projects.
    (ede-detect-entry "ant" :file "src/jvm/ant/build.xml"
                     :classp 'ede-ant-project-p)