Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-473

erlang_views.js (and other tests) not installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10
    • Test Suite
    • None

    Description

      erlang_views.js test is not installed, and it looks like two others are missing too.

      $ sudo make install | grep erlang_view
      $ ls /usr/local/share/couchdb/www/script/test | wc -l
      53
      $ ls share/www/script/test | wc -l
      56
      $ ls share/www/script/test >/tmp/a
      $ ls /usr/local/share/couchdb/www/script/test >/tmp/b
      $ diff -u /tmp/a /tmp/b
      — /tmp/a 2009-08-18 14:30:00.000000000 +0100
      +++ /tmp/b 2009-08-18 14:30:10.000000000 +0100
      @@ -17,10 +17,8 @@
      design_docs.js
      design_options.js
      design_paths.js
      -erlang_views.js
      etags_head.js
      etags_views.js
      -form_submit.js
      invalid_docids.js
      jsonp.js
      large_docs.js
      @@ -32,7 +30,6 @@
      oauth.js
      purge.js
      recreate_doc.js
      -reduce_builtin.js
      reduce_false.js
      reduce.js
      replication.js

      I think this problem has occurred before. Ideally it would be good if loadScript() were able to raise an error, but I don't know if that's possible.

      Furthermore: even after fixing this, "form_submit" doesn't appear in the test suite, but there is a "form_upload" test. This appears to be just a naming inconsistency.

      Attachments

        1. add_missing_tests.diff
          0.4 kB
          Brian Candler

        Activity

          People

            Unassigned Unassigned
            candlerb Brian Candler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: