#30 Build error

بسته‌شده
4 سال پیش باز شده توسط gavr123456789 · 2 دیدگاه

Log:

~/Д/libgtkflow ❯❯❯ ninja -C build
ninja: Entering directory `build'
[2/12] Compiling Vala source ../test/g...ibgflowpatterns/gflowpatterns-0.6.vapi
FAILED: test/gflow_test.p/gflow-dock-test.c test/gflow_test.p/gflow-node-test.c test/gflow_test.p/gflow-sink-test.c test/gflow_test.p/gflow-source-test.c test/gflow_test.p/gflow-test.c test/gflow_test.p/gtkflow-node-test.c test/gflow_test.p/gtkflow-test-app-class.c test/gflow_test.p/gflowpatterns-aggregator-test.c 
valac -C --debug --debug --pkg gtk+-3.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory test/gflow_test.p --basedir ../test ../test/gflow-dock-test.vala ../test/gflow-node-test.vala ../test/gflow-sink-test.vala ../test/gflow-source-test.vala ../test/gflow-test.vala ../test/gtkflow-node-test.vala ../test/gtkflow-test-app-class.vala ../test/gflowpatterns-aggregator-test.vala libgflow/gflow-0.6.vapi libgtkflow/gtkflow-0.6.vapi libgflowpatterns/gflowpatterns-0.6.vapi
../test/gflow-sink-test.vala:30.15-30.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6)
      assert (s.initial != null);
              ^^^^^^^^^
../test/gflow-source-test.vala:25.9-25.12: error: The name `_val' does not exist in the context of `GFlowTest.Source.update'
    if (_val.get_boolean ()) _val.set_boolean (false);
        ^^^^
../test/gflow-source-test.vala:25.30-25.33: error: The name `_val' does not exist in the context of `GFlowTest.Source.update'
    if (_val.get_boolean ()) _val.set_boolean (false);
                             ^^^^
../test/gflow-source-test.vala:26.10-26.13: error: The name `_val' does not exist in the context of `GFlowTest.Source.update'
    else _val.set_boolean (true);
         ^^^^
../test/gflow-sink-test.vala:44.15-44.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6)
      assert (s.initial != null);
              ^^^^^^^^^
../test/gflow-sink-test.vala:60.15-60.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6)
      assert (s.initial != null);
              ^^^^^^^^^
../test/gflow-sink-test.vala:69.7-69.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      src.val = 10;
      ^^^^^^^
../test/gflow-sink-test.vala:70.22-70.28: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (((int) src.val) == 10);
                     ^^^^^^^
../test/gflow-sink-test.vala:73.7-73.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      src.val = "text";
      ^^^^^^^
../test/gflow-source-test.vala:43.15-43.25: error: The name `initial' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.initial != null);
              ^^^^^^^^^^^
../test/gflow-source-test.vala:44.15-44.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val != null);
              ^^^^^^^
../test/gflow-source-test.vala:45.15-45.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val.holds (typeof (int)));
              ^^^^^^^
../test/gflow-source-test.vala:46.15-46.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val.get_int () == 1);
              ^^^^^^^
../test/gflow-source-test.vala:48.7-48.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      src.val.set_int (10);
      ^^^^^^^
../test/gflow-source-test.vala:49.15-49.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val.get_int () == 10);
              ^^^^^^^
../test/gflow-source-test.vala:50.7-50.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      src.val = 0.10;
      ^^^^^^^
../test/gflow-source-test.vala:51.15-51.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val.get_int () == 10);
              ^^^^^^^
../test/gflow-source-test.vala:59.15-59.25: error: The name `initial' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.initial != null);
              ^^^^^^^^^^^
../test/gflow-source-test.vala:60.15-60.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val != null);
              ^^^^^^^
../test/gflow-source-test.vala:61.15-61.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (src.val.holds (typeof (int)));
              ^^^^^^^
../test/gflow-source-test.vala:62.22-62.28: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
      assert (((int) src.val) == 0);
                     ^^^^^^^
../test/gflow-source-test.vala:81.9-81.15: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
        src.val = 20;
        ^^^^^^^
../test/gflow-source-test.vala:82.24-82.30: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6)
        assert (((int) src.val) == 20);
                       ^^^^^^^
../test/gflow-source-test.vala:93.15-93.25: error: The name `initial' does not exist in the context of `GFlowTest.Source'
      assert (src.initial != null);
              ^^^^^^^^^^^
../test/gflow-source-test.vala:94.15-94.21: error: The name `val' does not exist in the context of `GFlowTest.Source'
      assert (src.val != null);
              ^^^^^^^
../test/gflow-source-test.vala:95.15-95.21: error: The name `val' does not exist in the context of `GFlowTest.Source'
      assert (src.val.holds (typeof (bool)));
              ^^^^^^^
../test/gflow-source-test.vala:96.16-96.22: error: The name `val' does not exist in the context of `GFlowTest.Source'
      assert (!src.val.get_boolean ());
               ^^^^^^^
../test/gflow-source-test.vala:98.15-98.21: error: The name `val' does not exist in the context of `GFlowTest.Source'
      assert (src.val.get_boolean ());
              ^^^^^^^
Compilation failed: 28 error(s), 0 warning(s)
[3/12] Generating gtkflow-typelib with a custom command
ninja: build stopped: subcommand failed.

Log: ``` ~/Д/libgtkflow ❯❯❯ ninja -C build ninja: Entering directory `build' [2/12] Compiling Vala source ../test/g...ibgflowpatterns/gflowpatterns-0.6.vapi FAILED: test/gflow_test.p/gflow-dock-test.c test/gflow_test.p/gflow-node-test.c test/gflow_test.p/gflow-sink-test.c test/gflow_test.p/gflow-source-test.c test/gflow_test.p/gflow-test.c test/gflow_test.p/gtkflow-node-test.c test/gflow_test.p/gtkflow-test-app-class.c test/gflow_test.p/gflowpatterns-aggregator-test.c valac -C --debug --debug --pkg gtk+-3.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory test/gflow_test.p --basedir ../test ../test/gflow-dock-test.vala ../test/gflow-node-test.vala ../test/gflow-sink-test.vala ../test/gflow-source-test.vala ../test/gflow-test.vala ../test/gtkflow-node-test.vala ../test/gtkflow-test-app-class.vala ../test/gflowpatterns-aggregator-test.vala libgflow/gflow-0.6.vapi libgtkflow/gtkflow-0.6.vapi libgflowpatterns/gflowpatterns-0.6.vapi ../test/gflow-sink-test.vala:30.15-30.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6) assert (s.initial != null); ^^^^^^^^^ ../test/gflow-source-test.vala:25.9-25.12: error: The name `_val' does not exist in the context of `GFlowTest.Source.update' if (_val.get_boolean ()) _val.set_boolean (false); ^^^^ ../test/gflow-source-test.vala:25.30-25.33: error: The name `_val' does not exist in the context of `GFlowTest.Source.update' if (_val.get_boolean ()) _val.set_boolean (false); ^^^^ ../test/gflow-source-test.vala:26.10-26.13: error: The name `_val' does not exist in the context of `GFlowTest.Source.update' else _val.set_boolean (true); ^^^^ ../test/gflow-sink-test.vala:44.15-44.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6) assert (s.initial != null); ^^^^^^^^^ ../test/gflow-sink-test.vala:60.15-60.23: error: The name `initial' does not exist in the context of `GFlow.SimpleSink' (gflow-0.6) assert (s.initial != null); ^^^^^^^^^ ../test/gflow-sink-test.vala:69.7-69.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) src.val = 10; ^^^^^^^ ../test/gflow-sink-test.vala:70.22-70.28: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (((int) src.val) == 10); ^^^^^^^ ../test/gflow-sink-test.vala:73.7-73.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) src.val = "text"; ^^^^^^^ ../test/gflow-source-test.vala:43.15-43.25: error: The name `initial' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.initial != null); ^^^^^^^^^^^ ../test/gflow-source-test.vala:44.15-44.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val != null); ^^^^^^^ ../test/gflow-source-test.vala:45.15-45.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val.holds (typeof (int))); ^^^^^^^ ../test/gflow-source-test.vala:46.15-46.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val.get_int () == 1); ^^^^^^^ ../test/gflow-source-test.vala:48.7-48.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) src.val.set_int (10); ^^^^^^^ ../test/gflow-source-test.vala:49.15-49.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val.get_int () == 10); ^^^^^^^ ../test/gflow-source-test.vala:50.7-50.13: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) src.val = 0.10; ^^^^^^^ ../test/gflow-source-test.vala:51.15-51.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val.get_int () == 10); ^^^^^^^ ../test/gflow-source-test.vala:59.15-59.25: error: The name `initial' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.initial != null); ^^^^^^^^^^^ ../test/gflow-source-test.vala:60.15-60.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val != null); ^^^^^^^ ../test/gflow-source-test.vala:61.15-61.21: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (src.val.holds (typeof (int))); ^^^^^^^ ../test/gflow-source-test.vala:62.22-62.28: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (((int) src.val) == 0); ^^^^^^^ ../test/gflow-source-test.vala:81.9-81.15: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) src.val = 20; ^^^^^^^ ../test/gflow-source-test.vala:82.24-82.30: error: The name `val' does not exist in the context of `GFlow.SimpleSource' (gflow-0.6) assert (((int) src.val) == 20); ^^^^^^^ ../test/gflow-source-test.vala:93.15-93.25: error: The name `initial' does not exist in the context of `GFlowTest.Source' assert (src.initial != null); ^^^^^^^^^^^ ../test/gflow-source-test.vala:94.15-94.21: error: The name `val' does not exist in the context of `GFlowTest.Source' assert (src.val != null); ^^^^^^^ ../test/gflow-source-test.vala:95.15-95.21: error: The name `val' does not exist in the context of `GFlowTest.Source' assert (src.val.holds (typeof (bool))); ^^^^^^^ ../test/gflow-source-test.vala:96.16-96.22: error: The name `val' does not exist in the context of `GFlowTest.Source' assert (!src.val.get_boolean ()); ^^^^^^^ ../test/gflow-source-test.vala:98.15-98.21: error: The name `val' does not exist in the context of `GFlowTest.Source' assert (src.val.get_boolean ()); ^^^^^^^ Compilation failed: 28 error(s), 0 warning(s) [3/12] Generating gtkflow-typelib with a custom command ninja: build stopped: subcommand failed. ```
gavr123456789 نظر 4 سال پیش
نویسنده

PS All errors in tests

PS All errors in tests
grindhold نظر 4 سال پیش
مالک

fixed as of 5142e32 opening a new issue for writing new tests suited for the new API style

fixed as of 5142e32 opening a new issue for writing new tests suited for the new API style
برای پیوستن به گفتگو، وارد شودید.
بدون برچسب
بدون نقطه عطف
بدون مسئول رسیدگی
2 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.