aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build-package.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep/build-package.hxx')
-rw-r--r--libbrep/build-package.hxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx
index 228c5c0..09ec41d 100644
--- a/libbrep/build-package.hxx
+++ b/libbrep/build-package.hxx
@@ -72,10 +72,10 @@ namespace brep
//
class build_package;
- // Build package test dependency.
+ // Build package external test dependency.
//
#pragma db value
- struct build_dependency
+ struct build_test_dependency
{
package_name name;
lazy_shared_ptr<build_package> package;
@@ -90,12 +90,10 @@ namespace brep
package_id id;
upstream_version version;
- // Mapped to the package object tests, examples, and benchmarks members
- // using the PostgreSQL foreign table mechanism.
+ // Mapped to the package object tests member using the PostgreSQL foreign
+ // table mechanism.
//
- small_vector<build_dependency, 1> tests;
- small_vector<build_dependency, 1> examples;
- small_vector<build_dependency, 1> benchmarks;
+ small_vector<build_test_dependency, 1> tests;
lazy_shared_ptr<build_repository> internal_repository;
bool buildable;
@@ -117,9 +115,7 @@ namespace brep
//
#pragma db member(id) id column("")
#pragma db member(version) set(this.version.init (this.id.version, (?)))
- #pragma db member(tests) id_column("") value_column("dep_")
- #pragma db member(examples) id_column("") value_column("dep_")
- #pragma db member(benchmarks) id_column("") value_column("dep_")
+ #pragma db member(tests) id_column("") value_column("test_")
#pragma db member(builds) id_column("") value_column("")
#pragma db member(constraints) id_column("") value_column("")