[CDRIVER-828] Missing tests/json directory Created: 04/Sep/15  Updated: 04/Sep/15  Resolved: 04/Sep/15

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.2-beta1
Fix Version/s: 1.2-rc0

Type: Bug Priority: Major - P3
Reporter: Remi Collet Assignee: A. Jesse Jiryu Davis
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CDRIVER-793 Add json test files to distribution t... Closed

 Description   

Notice : affected version is 1.2.0beta1 (not listed in choice)

$ make check
make[1]: Entering directory '/dev/shm/BUILD/mongo-c-driver-1.2.0-beta1'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/dev/shm/BUILD/mongo-c-driver-1.2.0-beta1'
lt-test-libmongoc: tests/json-test.c:180: collect_tests_from_dir: Assertion `dir' failed.
/bin/sh : ligne 1 : 17271 Abandon (core dumped)./$TEST_PROG -f -p -F test.log

I notice beta archive is much bigger than beta1, but this is mostly because of "_build" directory, tests/json is very small (820k)



 Comments   
Comment by A. Jesse Jiryu Davis [ 04/Sep/15 ]

The beta0 tarball was large because I included some binary files by mistake; I've replaced it with a proper tarball:

https://github.com/mongodb/mongo-c-driver/releases/tag/1.2.0-beta

I opened a ticket for the missing json test files previously, CDRIVER-793. If you know how to fix the issue please let me know, I struggled with the Autotools for a while before deciding to put it off until later in the release cycle.

Comment by Remi Collet [ 04/Sep/15 ]

Workaround: I build from a git snapshot which is much smaller

beta0: 9.7MB
beta1: 5.4MB
snapshot: 0.4MB (of course, I don't need the src/libbson tree)

Generated at Wed Feb 07 21:10:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.